aboutsummaryrefslogtreecommitdiff
path: root/deflate.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2022-03-28 10:50:16 -0700
committerMark Adler <madler@alumni.caltech.edu>2022-03-28 10:50:16 -0700
commit3df842426b53522e232da7aa06d5ef10eeb5ec4a (patch)
tree2d1f96cf917f50dae4f6d949062fbb7ee1c392b5 /deflate.h
parenta4c17581d8fd9dc38d498430825d148fe7177881 (diff)
downloadzlib-3df842426b53522e232da7aa06d5ef10eeb5ec4a.tar.gz
zlib-3df842426b53522e232da7aa06d5ef10eeb5ec4a.tar.bz2
zlib-3df842426b53522e232da7aa06d5ef10eeb5ec4a.zip
Silence some warnings from Visual Studio C.
Diffstat (limited to 'deflate.h')
-rw-r--r--deflate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deflate.h b/deflate.h
index 17c2261..1a06cd5 100644
--- a/deflate.h
+++ b/deflate.h
@@ -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++; \