diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2009-07-06 21:38:21 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2009-07-06 21:38:21 (GMT) |
commit | 56f47889313ee29693e673df5982ac523d3baac0 (patch) | |
tree | 74fa606c8d12e2dfc092012c44aea1478b567681 /generic/tclZlib.c | |
parent | 48a923c5b4899bc7055153a8e28e25489b33fab6 (diff) | |
download | tcl-56f47889313ee29693e673df5982ac523d3baac0.zip tcl-56f47889313ee29693e673df5982ac523d3baac0.tar.gz tcl-56f47889313ee29693e673df5982ac523d3baac0.tar.bz2 |
Silence a signed/unsigned warning that annoys msvc
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 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); |