summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2009-07-06 21:38:20 (GMT)
committerpatthoyts <patthoyts@noemail.net>2009-07-06 21:38:20 (GMT)
commitc465f9e4f3accc6bf492ca990e8953167dcbe275 (patch)
tree74fa606c8d12e2dfc092012c44aea1478b567681 /generic/tclZlib.c
parentb0bb2f23d50d8038996ef1a39f5a30512e1e4240 (diff)
downloadtcl-c465f9e4f3accc6bf492ca990e8953167dcbe275.zip
tcl-c465f9e4f3accc6bf492ca990e8953167dcbe275.tar.gz
tcl-c465f9e4f3accc6bf492ca990e8953167dcbe275.tar.bz2
Silence a signed/unsigned warning that annoys msvc
FossilOrigin-Name: 73b2dd28f26d28e86ba53ab640411fd2c921fc0a
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index 8204da3..378c123 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.27 2009/07/05 16:05:59 dkf Exp $
+ * RCS: @(#) $Id: tclZlib.c,v 1.28 2009/07/06 21:38:21 patthoyts Exp $
*/
#include "tclInt.h"
@@ -2605,7 +2605,7 @@ ZlibTransformWatch(
watchProc = Tcl_ChannelWatchProc(Tcl_GetChannelType(cd->parent));
watchProc(Tcl_GetChannelInstanceData(cd->parent), mask);
- if (!(mask & TCL_READABLE) || (cd->inStream.avail_in==cd->inAllocated)) {
+ if (!(mask & TCL_READABLE) || (cd->inStream.avail_in==(uInt)cd->inAllocated)) {
ZlibTransformTimerKill(cd);
} else {
ZlibTransformTimerSetup(cd);