[ZLIB] Update to v1.2.13. CORE-18752

This commit is contained in:
Gabriel Grondin 2023-01-08 16:54:10 +01:00 committed by Victor Perevertkin
parent 6ae2f432b3
commit 144e984b40
29 changed files with 379 additions and 318 deletions

View file

@ -329,8 +329,8 @@ void ZLIB_INTERNAL _tr_stored_block OF((deflate_state *s, charf *buf,
# define _tr_tally_dist(s, distance, length, flush) \
{ uch len = (uch)(length); \
ush dist = (ush)(distance); \
s->sym_buf[s->sym_next++] = dist; \
s->sym_buf[s->sym_next++] = dist >> 8; \
s->sym_buf[s->sym_next++] = (uch)dist; \
s->sym_buf[s->sym_next++] = (uch)(dist >> 8); \
s->sym_buf[s->sym_next++] = len; \
dist--; \
s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \