From d032cfb5ca1e47238f2bd96886793c21547f0605 Mon Sep 17 00:00:00 2001 From: eihrul Date: Thu, 25 Feb 2010 06:31:44 +0000 Subject: [PATCH] fix signed vs. unsigned comparison warning in GL_TextureMode_f git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9995 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_textures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_textures.c b/gl_textures.c index 9fe4c478..b4ae602c 100644 --- a/gl_textures.c +++ b/gl_textures.c @@ -338,7 +338,7 @@ static void GL_TextureMode_f (void) return; } - for (i = 0;i < sizeof(modes)/sizeof(*modes);i++) + for (i = 0;i < (int)(sizeof(modes)/sizeof(*modes));i++) if (!strcasecmp (modes[i].name, Cmd_Argv(1) ) ) break; if (i == 6) -- 2.39.2