]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
i is not longer an unsigned short in Palette_Setup8to24
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 30 Apr 2002 07:37:35 +0000 (07:37 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 30 Apr 2002 07:37:35 +0000 (07:37 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1802 d7cf8633-e32d-0410-b094-e92efae38249

palette.c

index 6b4aa922186cc04150160269d18809a5c01f7c8d..eb36367ba90b42ff7883d6e315a0d83e6bf13249 100644 (file)
--- 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