summaryrefslogtreecommitdiff
path: root/zlib/inflate.c
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-17 09:40:29 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-17 12:20:28 +0100
commitb90437119d2ebe3211dcaf9bfee7e68eb5058874 (patch)
tree9f6e2497af3ee07e6a8083dc4ef42dde5b6a951d /zlib/inflate.c
parent00cdb1757ff37177d7a6440fc94f044b5614c821 (diff)
Update bundled zlib to version 1.3.1
Diffstat (limited to 'zlib/inflate.c')
-rw-r--r--zlib/inflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zlib/inflate.c b/zlib/inflate.c
index b0757a9b2..94ecff015 100644
--- a/zlib/inflate.c
+++ b/zlib/inflate.c
@@ -1387,7 +1387,7 @@ int ZEXPORT inflateSync(z_streamp strm) {
/* if first time, start search in bit buffer */
if (state->mode != SYNC) {
state->mode = SYNC;
- state->hold <<= state->bits & 7;
+ state->hold >>= state->bits & 7;
state->bits -= state->bits & 7;
len = 0;
while (state->bits >= 8) {