From b017ec4e1342e9149384fecc44747d96b03f60cd Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 21 Aug 2003 23:28:24 +0000 Subject: [PATCH] Silenced a couple compiler warnings. --- zlib/inftrees.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zlib/inftrees.c b/zlib/inftrees.c index 4c32ca30..a4d86a85 100644 --- a/zlib/inftrees.c +++ b/zlib/inftrees.c @@ -213,7 +213,7 @@ uIntf *v; /* working area: values in order of bit length */ /* compute minimum size table less than or equal to l bits */ z = g - w; - z = z > (uInt)l ? l : z; /* table size upper limit */ + z = z > (uInt)l ? (uInt)l : z; /* table size upper limit */ if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ { /* too few codes for k-w bit table */ f -= a + 1; /* deduct codes from patterns left */ @@ -400,7 +400,7 @@ uIntf *bl; /* literal desired/actual bit depth */ uIntf *bd; /* distance desired/actual bit depth */ inflate_huft * FAR *tl; /* literal/length tree result */ inflate_huft * FAR *td; /* distance tree result */ -z_streamp z; /* for memory allocation */ +UNUSED(z_streamp z); /* for memory allocation */ { #ifdef BUILDFIXED /* build fixed tables if not already */ -- 2.34.1