From 515219150ace1210cd7e4cfa05e5fb44849978c9 Mon Sep 17 00:00:00 2001 From: patthoyts Date: Mon, 22 Dec 2008 01:39:33 +0000 Subject: Silence signed unsigned warning --- generic/tclZlib.c | 4 ++-- 1 file 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? */ -- cgit v0.12