From cbf086461d58b7416e7349f2c060082194a716e1 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Tue, 30 Apr 2002 07:37:35 +0000 Subject: [PATCH] i is not longer an unsigned short in Palette_Setup8to24 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1802 d7cf8633-e32d-0410-b094-e92efae38249 --- palette.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/palette.c b/palette.c index 6b4aa922..eb36367b 100644 --- a/palette.c +++ b/palette.c @@ -14,8 +14,8 @@ cvar_t v_hwgamma = {0, "v_hwgamma", "1"}; void Palette_Setup8to24(void) { + int i; qbyte *in, *out; - unsigned short i; in = host_basepal; out = (qbyte *) d_8to24table; // d_8to24table is accessed as 32bit for speed reasons, but is created as 8bit bytes -- 2.39.2