From 4ca984fb447ac57120c394cf2fbba23837ed31c2 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:03:14 -0700 Subject: zlib 0.8 --- inftrees.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'inftrees.c') diff --git a/inftrees.c b/inftrees.c index 54c7c8e..ab0ed2c 100644 --- a/inftrees.c +++ b/inftrees.c @@ -383,6 +383,7 @@ uInt s; /* size of item */ { Assert(s == sizeof(inflate_huft) && n <= fixed_left, "inflate_trees falloc overflow"); + if (q) s++; /* to make some compilers happy */ fixed_left -= n; return (voidp)(fixed_mem + fixed_left); } @@ -393,6 +394,7 @@ voidp q; voidp p; { Assert(0, "inflate_trees ffree called!"); + if (q) q = p; /* to make some compilers happy */ } -- cgit v1.2.3-55-g6feb