From ab052e6e5802336fefc7337b7523abdadf30ad4e Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Sun, 6 Nov 2022 14:55:25 +0500 Subject: [PATCH] Fix variable declaration. --- miniz_tdef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniz_tdef.c b/miniz_tdef.c index 4477b51..b7ea63a 100644 --- a/miniz_tdef.c +++ b/miniz_tdef.c @@ -476,7 +476,7 @@ static mz_bool tdefl_compress_lz_codes(tdefl_compressor *d) { mz_uint s0, s1, n0, n1, sym, num_extra_bits; mz_uint match_len = pLZ_codes[0]; - match_dist = (pLZ_codes[1] | (pLZ_codes[2] << 8)); + mz_uint match_dist = (pLZ_codes[1] | (pLZ_codes[2] << 8)); pLZ_codes += 3; MZ_ASSERT(d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]);