summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das>2006-07-20 06:24:16 (GMT)
committerdas <das>2006-07-20 06:24:16 (GMT)
commit516d2a2413bfa3330b641f88c3a940a54f790a60 (patch)
tree956bfb461f8842d898de94327db9578248dbf9cf /generic
parentbdce7878d48dd817db9215c36c9c4794740d4bfb (diff)
downloadtk-516d2a2413bfa3330b641f88c3a940a54f790a60.zip
tk-516d2a2413bfa3330b641f88c3a940a54f790a60.tar.gz
tk-516d2a2413bfa3330b641f88c3a940a54f790a60.tar.bz2
* generic/tkImgGIF.c (ReadImage):
* macosx/tkMacOSXCursor.c (TkMacOSXCursor): * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): * macosx/tkMacOSXInit.c (Map): * xlib/xgc.c (XCreateGC): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkImgGIF.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index 70f77b0..b0dbcef 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -32,7 +32,7 @@
* This file also contains code from miGIF. See lower down in file for the
* applicable copyright notice for that portion.
*
- * RCS: @(#) $Id: tkImgGIF.c,v 1.32 2006/03/27 10:55:49 dkf Exp $
+ * RCS: @(#) $Id: tkImgGIF.c,v 1.33 2006/07/20 06:24:16 das Exp $
*/
/*
@@ -831,8 +831,8 @@ ReadImage(
unsigned char initialCodeSize;
int xpos = 0, ypos = 0, pass = 0, i;
register char *pixelPtr;
- CONST static int interlaceStep[] = { 8, 8, 4, 2 };
- CONST static int interlaceStart[] = { 0, 4, 2, 1 };
+ static CONST int interlaceStep[] = { 8, 8, 4, 2 };
+ static CONST int interlaceStart[] = { 0, 4, 2, 1 };
unsigned short prefix[(1 << MAX_LWZ_BITS)];
unsigned char append[(1 << MAX_LWZ_BITS)];
unsigned char stack[(1 << MAX_LWZ_BITS)*2];