summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-12-22 01:39:33 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-12-22 01:39:33 (GMT)
commit515219150ace1210cd7e4cfa05e5fb44849978c9 (patch)
treec9bf3e224bcb1284d8a98876ca0bab2ae4edb40d /generic
parent802eead7131d784d450b7a150d8f9c2ce88891f1 (diff)
downloadtcl-515219150ace1210cd7e4cfa05e5fb44849978c9.zip
tcl-515219150ace1210cd7e4cfa05e5fb44849978c9.tar.gz
tcl-515219150ace1210cd7e4cfa05e5fb44849978c9.tar.bz2
Silence signed unsigned warning
Diffstat (limited to 'generic')
-rw-r--r--generic/tclZlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index 114b139..4fc56e1 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclZlib.c,v 1.17 2008/12/20 01:21:04 das Exp $
+ * RCS: @(#) $Id: tclZlib.c,v 1.18 2008/12/22 01:39:33 patthoyts Exp $
*/
#include "tclInt.h"
@@ -2221,7 +2221,7 @@ ChanClose(
cd->outStream.avail_in = 0;
do {
cd->outStream.next_out = (Bytef *) cd->outBuffer;
- cd->outStream.avail_out = cd->outAllocated;
+ cd->outStream.avail_out = (unsigned) cd->outAllocated;
e = deflate(&cd->outStream, Z_FINISH);
if (e != Z_OK && e != Z_STREAM_END) {
/* TODO: is this the right way to do errors on close? */