summaryrefslogtreecommitdiffstats
path: root/generic/tkImgGIF.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-12-01 03:22:10 (GMT)
committerhobbs <hobbs>2005-12-01 03:22:10 (GMT)
commit10aca77184a8c4b9f653e0f80d04f96135a1041b (patch)
tree62b8430bf8fc5343e4be309b6afe3430e11df4b5 /generic/tkImgGIF.c
parente8ced77901dfa56aed25b78d13d4d700fe229b01 (diff)
downloadtk-10aca77184a8c4b9f653e0f80d04f96135a1041b.zip
tk-10aca77184a8c4b9f653e0f80d04f96135a1041b.tar.gz
tk-10aca77184a8c4b9f653e0f80d04f96135a1041b.tar.bz2
* generic/tkImgGIF.c: cast calls to block_out
Diffstat (limited to 'generic/tkImgGIF.c')
-rw-r--r--generic/tkImgGIF.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index 3a4246a..42a3132 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -29,7 +29,7 @@
* | provided "as is" without express or implied warranty. |
* +-------------------------------------------------------------------+
*
- * RCS: @(#) $Id: tkImgGIF.c,v 1.24.2.2 2005/06/20 10:28:00 dkf Exp $
+ * RCS: @(#) $Id: tkImgGIF.c,v 1.24.2.3 2005/12/01 03:22:10 hobbs Exp $
*/
/*
@@ -1838,7 +1838,7 @@ output(val)
obuf |= val << obits;
obits += out_bits;
while (obits >= 8) {
- block_out(obuf&0xff);
+ block_out(UCHAR(obuf&0xff));
obuf >>= 8;
obits -= 8;
}
@@ -1850,7 +1850,7 @@ output_flush()
{
DEBUGMSG(("output_flush\n"));
if (obits > 0) {
- block_out(obuf);
+ block_out(UCHAR(obuf));
}
block_flush();
}