]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix some warnings
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Apr 2006 08:04:10 +0000 (08:04 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Apr 2006 08:04:10 +0000 (08:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6282 d7cf8633-e32d-0410-b094-e92efae38249

vid_agl.c

index fcb06a951b82b6f5cfc8f8f8f95b09d9b31e4d78..83053a36e655bf62716585ae9d3dd65148d51c55 100644 (file)
--- a/vid_agl.c
+++ b/vid_agl.c
@@ -146,7 +146,7 @@ int VID_SetGamma(unsigned short *ramps, int rampsize)
        CGGammaValue table_red [GAMMA_TABLE_SIZE];
        CGGammaValue table_green [GAMMA_TABLE_SIZE];
        CGGammaValue table_blue [GAMMA_TABLE_SIZE];
-       unsigned int i;
+       int i;
 
        // Convert the unsigned short table into 3 float tables
        for (i = 0; i < rampsize; i++)