Skip to content

Commit

Permalink
Fixed MSVC warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
WildCard65 committed Apr 10, 2021
1 parent 6874832 commit fe94a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 fe94a13

Please sign in to comment.