From c98af94360edd985e70be8330bf04d7d695d9001 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 15 Apr 2006 08:04:10 +0000 Subject: [PATCH] fix some warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6282 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_agl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) -- 2.39.2