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)
commit9796d2d3945b437083d79e6c8e2333aec0b3f577 (patch)
tree6950fb26a58db4df2bdb3bea1bcf07a8dbb52006 /generic
parent25b1f7bfae9a5c8c1e816701542a3cdb1255cb84 (diff)
downloadtk-9796d2d3945b437083d79e6c8e2333aec0b3f577.zip
tk-9796d2d3945b437083d79e6c8e2333aec0b3f577.tar.gz
tk-9796d2d3945b437083d79e6c8e2333aec0b3f577.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;