diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2008-12-22 01:39:33 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2008-12-22 01:39:33 (GMT) |
commit | 515219150ace1210cd7e4cfa05e5fb44849978c9 (patch) | |
tree | c9bf3e224bcb1284d8a98876ca0bab2ae4edb40d /generic/tclZlib.c | |
parent | 802eead7131d784d450b7a150d8f9c2ce88891f1 (diff) | |
download | tcl-515219150ace1210cd7e4cfa05e5fb44849978c9.zip tcl-515219150ace1210cd7e4cfa05e5fb44849978c9.tar.gz tcl-515219150ace1210cd7e4cfa05e5fb44849978c9.tar.bz2 |
Silence signed unsigned warning
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r-- | generic/tclZlib.c | 4 |
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? */ |