diff options
| author | Matthias Melcher <git@matthiasm.com> | 2020-01-03 17:05:52 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2020-01-03 17:05:52 +0100 |
| commit | 8147199a41e8cc39b0268433916dfccfcfc8e6eb (patch) | |
| tree | c2261f81fc5c22b25644cc9e1abc366bee49e837 /zlib/inflate.c | |
| parent | db6fa8bf86407a0d1a1de180fff55702e1f75d6f (diff) | |
macOS: checking Fl_Preferences file path improved
zlib: removed warning
Diffstat (limited to 'zlib/inflate.c')
| -rw-r--r-- | zlib/inflate.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 : |
