summaryrefslogtreecommitdiffstats
path: root/src/misc/zlib/inflate.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-01-01 00:33:06 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2017-01-01 00:33:06 +0700
commit278c00242f7c3ca46858ece6682749cca06a5deb (patch)
tree418bed63e71e21106145ea26c94da363377c6de8 /src/misc/zlib/inflate.c
parent39f32259957884645450ba345426f7f030f14713 (diff)
downloadabc-278c00242f7c3ca46858ece6682749cca06a5deb.tar.gz
abc-278c00242f7c3ca46858ece6682749cca06a5deb.tar.bz2
abc-278c00242f7c3ca46858ece6682749cca06a5deb.zip
Compiler warnings.
Diffstat (limited to 'src/misc/zlib/inflate.c')
-rw-r--r--src/misc/zlib/inflate.c2
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 :