From 8147199a41e8cc39b0268433916dfccfcfc8e6eb Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 3 Jan 2020 17:05:52 +0100 Subject: macOS: checking Fl_Preferences file path improved zlib: removed warning --- zlib/inflate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'zlib') diff --git a/zlib/inflate.c b/zlib/inflate.c index 870f89bb4..f84394c1f 100644 --- a/zlib/inflate.c +++ b/zlib/inflate.c @@ -1504,7 +1504,8 @@ z_streamp strm; { struct inflate_state FAR *state; - if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16; + if (strm == Z_NULL || strm->state == Z_NULL) + return ((unsigned)-1L) << 16; state = (struct inflate_state FAR *)strm->state; return ((long)(state->back) << 16) + (state->mode == COPY ? state->length : -- cgit v1.2.3