From 63bc529b22f1b8cbb2f65c977bcfd14474a11201 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 19 Apr 2017 03:42:34 +0200 Subject: [PATCH] CHG: remove clang warning (piwi) --- zlib/inflate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zlib/inflate.c b/zlib/inflate.c index 3a945f3ce..656cd6464 100644 --- a/zlib/inflate.c +++ b/zlib/inflate.c @@ -1524,7 +1524,7 @@ z_streamp strm; struct inflate_state FAR *state; if (strm == Z_NULL || strm->state == Z_NULL) - return (long)(((unsigned long)0 - 1) << 16); + return ~0UL << 16; state = (struct inflate_state FAR *)strm->state; return ((long)(state->back) << 16) + (state->mode == COPY ? state->length :