warning fix from shortcircuit

This commit is contained in:
Bill Currie 2009-12-24 07:33:24 +00:00 committed by Jeff Teunissen
parent d3e32303e1
commit cb5bd43d4c

View file

@ -201,7 +201,7 @@ GL_EndRendering (void)
Sbar_Changed ();
}
static int resolutions[][3] = {
static unsigned int resolutions[][3] = {
{320, 200, GR_RESOLUTION_320x200},
{320, 240, GR_RESOLUTION_320x240},
{400, 256, GR_RESOLUTION_400x256},
@ -253,7 +253,7 @@ static int resolutions[][3] = {
#define NUM_RESOLUTIONS (sizeof (resolutions) / (sizeof (int) * 3))
static int
findres (int *width, int *height)
findres (unsigned int *width, unsigned int *height)
{
unsigned int i;
@ -273,7 +273,6 @@ findres (int *width, int *height)
void
VID_Init (unsigned char *palette)
{
int i;
GLint attribs[32];
GLF_Init ();