From f7eb9fcd3f5e5a62e12b3de7e22adcf84c9948cb Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 1 Dec 2005 03:21:36 +0000 Subject: * generic/tkImgGIF.c: cast calls to blockOut --- ChangeLog | 2 ++ generic/tkImgGIF.c | 6 +++--- 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 + * 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); } -- cgit v0.12