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)
commitcfa92cfa530835ba29f97340729de81c8df1e14e (patch)
tree62b8430bf8fc5343e4be309b6afe3430e11df4b5 /generic/tkImgGIF.c
parent44893c1ac76f1d6f259b21b749c766a5598b5202 (diff)
downloadtk-cfa92cfa530835ba29f97340729de81c8df1e14e.zip
tk-cfa92cfa530835ba29f97340729de81c8df1e14e.tar.gz
tk-cfa92cfa530835ba29f97340729de81c8df1e14e.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();
}