Skip to content

Commit

Permalink
Avoid warning C4244.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancorvussolis committed Mar 29, 2022
1 parent 539e9e6 commit 392f302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libz/deflate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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++] = (uchf)(dist); \
s->sym_buf[s->sym_next++] = (uchf)(dist >> 8); \
s->sym_buf[s->sym_next++] = len; \
dist--; \
s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \
Expand Down

0 comments on commit 392f302

Please sign in to comment.