summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--generic/tkImgGIF.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a8c1de7..61ba93e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2005-11-30 Jeff Hobbs <jeffh@ActiveState.com>
+ * generic/tkImgGIF.c: cast calls to blockOut
+
* win/Makefile.in: place TCL_BIN_DIR first in PATH for targets to
get Tcl built dll first.
Add tkWinTest.obj to tk84.dll to handle some needed test functions
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index e1b35a6..1e2bd64 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.30 2005/11/17 16:21:55 dkf Exp $
+ * RCS: @(#) $Id: tkImgGIF.c,v 1.31 2005/12/01 03:21:37 hobbs Exp $
*/
/*
@@ -1887,7 +1887,7 @@ output(
statePtr->obuf |= val << statePtr->obits;
statePtr->obits += statePtr->outputBits;
while (statePtr->obits >= 8) {
- blockOut(statePtr, statePtr->obuf&0xff);
+ blockOut(statePtr, UCHAR(statePtr->obuf & 0xff));
statePtr->obuf >>= 8;
statePtr->obits -= 8;
}
@@ -1901,7 +1901,7 @@ outputFlush(
{
DEBUGMSG(("outputFlush\n"));
if (statePtr->obits > 0) {
- blockOut(statePtr, statePtr->obuf);
+ blockOut(statePtr, UCHAR(statePtr->obuf));
}
blockFlush(statePtr);
}