diff options
Diffstat (limited to 'src/misc/zlib')
-rw-r--r-- | src/misc/zlib/inflate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/zlib/inflate.c b/src/misc/zlib/inflate.c index 449779a9..9fae7045 100644 --- a/src/misc/zlib/inflate.c +++ b/src/misc/zlib/inflate.c @@ -1445,7 +1445,7 @@ long ZEXPORT inflateMark(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 -(1L << 16); state = (struct inflate_state FAR *)strm->state; return ((long)(state->back) << 16) + (state->mode == COPY ? state->length : |