VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/zlib/deflate.h
diff options
context:
space:
mode:
authorWendigo <84196391+wendig0x@users.noreply.github.com>2023-05-19 23:15:01 +0300
committerGitHub <noreply@github.com>2023-05-19 22:15:01 +0200
commit8fc866df4070e23ec0cc88a84c8ecfd456dfb30d (patch)
tree6673d7677b0a25d0d656d92febaeca6194e0b1ed /src/Common/zlib/deflate.h
parent21918e33b66f371952ebed20f3b13317e8a94831 (diff)
downloadVeraCrypt-8fc866df4070e23ec0cc88a84c8ecfd456dfb30d.tar.gz
VeraCrypt-8fc866df4070e23ec0cc88a84c8ecfd456dfb30d.zip
update zlib to latest version 1.2.13 (#986)
Diffstat (limited to 'src/Common/zlib/deflate.h')
-rw-r--r--src/Common/zlib/deflate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/zlib/deflate.h b/src/Common/zlib/deflate.h
index 17c22611..1a06cd5f 100644
--- a/src/Common/zlib/deflate.h
+++ b/src/Common/zlib/deflate.h
@@ -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++; \