diff options
Diffstat (limited to 'deflate.h')
-rw-r--r-- | deflate.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -329,8 +329,8 @@ void ZLIB_INTERNAL _tr_stored_block OF((deflate_state *s, charf *buf, | |||
329 | # define _tr_tally_dist(s, distance, length, flush) \ | 329 | # define _tr_tally_dist(s, distance, length, flush) \ |
330 | { uch len = (uch)(length); \ | 330 | { uch len = (uch)(length); \ |
331 | ush dist = (ush)(distance); \ | 331 | ush dist = (ush)(distance); \ |
332 | s->sym_buf[s->sym_next++] = dist; \ | 332 | s->sym_buf[s->sym_next++] = (uch)dist; \ |
333 | s->sym_buf[s->sym_next++] = dist >> 8; \ | 333 | s->sym_buf[s->sym_next++] = (uch)(dist >> 8); \ |
334 | s->sym_buf[s->sym_next++] = len; \ | 334 | s->sym_buf[s->sym_next++] = len; \ |
335 | dist--; \ | 335 | dist--; \ |
336 | s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ | 336 | s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ |