]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_agl.c
fix some warnings
[xonotic/darkplaces.git] / 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++)