From 9796d2d3945b437083d79e6c8e2333aec0b3f577 Mon Sep 17 00:00:00 2001 From: das Date: Tue, 18 Sep 2007 12:53:09 +0000 Subject: fix warnings --- generic/tkImgGIF.c | 6 +++--- 1 file 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; -- cgit v0.12