summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das>2007-09-18 12:53:09 (GMT)
committerdas <das>2007-09-18 12:53:09 (GMT)
commit5ae9152712901e83b1409fe20e9a1c4c2fec2197 (patch)
tree6950fb26a58db4df2bdb3bea1bcf07a8dbb52006 /generic
parentfab2f4d8ec370e364aa586f52b730f2a93fc3113 (diff)
downloadtk-5ae9152712901e83b1409fe20e9a1c4c2fec2197.zip
tk-5ae9152712901e83b1409fe20e9a1c4c2fec2197.tar.gz
tk-5ae9152712901e83b1409fe20e9a1c4c2fec2197.tar.bz2
fix warnings
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 473ed3c..59e4117 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.38 2007/09/18 12:37:13 dkf Exp $
+ * RCS: @(#) $Id: tkImgGIF.c,v 1.39 2007/09/18 12:53:09 das Exp $
*/
#include "tkInt.h"
@@ -664,8 +664,8 @@ StringReadGIF(
* padding of the BASE64 data).
*/
- if (strncmp(GIF87a, (unsigned char *) data, 6)
- && strncmp(GIF89a, (unsigned char *) data, 6)) {
+ if (strncmp(GIF87a, (char *) data, 6)
+ && strncmp(GIF89a, (char *) data, 6)) {
xferFormat = INLINE_DATA_BASE64;
} else {
xferFormat = INLINE_DATA_BINARY;