diff options
author | hobbs <hobbs@noemail.net> | 2005-12-01 03:21:36 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2005-12-01 03:21:36 (GMT) |
commit | 374ea2b22ec5e7ffb2e1f87b8a2fb78570915351 (patch) | |
tree | 08c0c907211041d7c4cb23ab1b1fa31c56e1a1e3 | |
parent | 8d6ffd5737128288e64d75d59df67b49a51bb7b9 (diff) | |
download | tk-374ea2b22ec5e7ffb2e1f87b8a2fb78570915351.zip tk-374ea2b22ec5e7ffb2e1f87b8a2fb78570915351.tar.gz tk-374ea2b22ec5e7ffb2e1f87b8a2fb78570915351.tar.bz2 |
* generic/tkImgGIF.c: cast calls to blockOut
FossilOrigin-Name: 13f3c03c0d427c0a1bc94803a7c0bc3a57a8f638
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | generic/tkImgGIF.c | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -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); } |