From: havoc Date: Sat, 15 Apr 2006 08:04:10 +0000 (+0000) Subject: fix some warnings X-Git-Tag: xonotic-v0.1.0preview~4082 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c98af94360edd985e70be8330bf04d7d695d9001;p=xonotic%2Fdarkplaces.git fix some warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6282 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_agl.c b/vid_agl.c index fcb06a95..83053a36 100644 --- 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++)