From b97ec631c6f7dd9cff2e3caf3b38e70b006e1b2d Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:23:01 -0700 Subject: zlib 1.2.0.7 --- trees.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'trees.c') diff --git a/trees.c b/trees.c index 5f6d4af..bb09554 100644 --- a/trees.c +++ b/trees.c @@ -1107,7 +1107,8 @@ local void compress_block(s, ltree, dtree) } /* literal or match pair ? */ /* Check that the overlay between pending_buf and d_buf+l_buf is ok: */ - Assert(s->pending < s->lit_bufsize + 2*lx, "pendingBuf overflow"); + Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx, + "pendingBuf overflow"); } while (lx < s->last_lit); -- cgit v1.2.3-55-g6feb