diff options
author | hobbs <hobbs> | 2005-12-01 03:21:36 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-12-01 03:21:36 (GMT) |
commit | f7eb9fcd3f5e5a62e12b3de7e22adcf84c9948cb (patch) | |
tree | 08c0c907211041d7c4cb23ab1b1fa31c56e1a1e3 /generic | |
parent | 091fc393ae229faee62cacfd97cdb2150c4506df (diff) | |
download | tk-f7eb9fcd3f5e5a62e12b3de7e22adcf84c9948cb.zip tk-f7eb9fcd3f5e5a62e12b3de7e22adcf84c9948cb.tar.gz tk-f7eb9fcd3f5e5a62e12b3de7e22adcf84c9948cb.tar.bz2 |
* generic/tkImgGIF.c: cast calls to blockOut
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkImgGIF.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |