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 fcb06a9..83053a3 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++)