From 93cc4f98f52a8abfd9adb36e660fe84dd1b54383 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 11 Oct 2025 15:03:00 +0200 Subject: Dep/zlib: Update to 1.3.1 --- dep/zlib/inflate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dep/zlib/inflate.c') diff --git a/dep/zlib/inflate.c b/dep/zlib/inflate.c index b0757a9b249..94ecff015a9 100644 --- a/dep/zlib/inflate.c +++ b/dep/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) { -- cgit v1.2.3