summaryrefslogtreecommitdiffhomepage
path: root/zlib/trees.c
diff options
context:
space:
mode:
Diffstat (limited to 'zlib/trees.c')
-rw-r--r--zlib/trees.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zlib/trees.c b/zlib/trees.c
index 26f3cf1..e968035 100644
--- a/zlib/trees.c
+++ b/zlib/trees.c
@@ -535,6 +535,7 @@ local void gen_bitlen(s, desc)
/* Find the first bit length which could increase: */
do {
bits = max_length-1;
+#pragma warning(suppress: 6385)
while (s->bl_count[bits] == 0) bits--;
s->bl_count[bits]--; /* move one leaf down the tree */
s->bl_count[bits+1] += 2; /* move one overflow item as its brother */
@@ -551,6 +552,7 @@ local void gen_bitlen(s, desc)
* from 'ar' written by Haruhiko Okumura.)
*/
for (bits = max_length; bits != 0; bits--) {
+#pragma warning(suppress: 6385)
n = s->bl_count[bits];
while (n != 0) {
m = s->heap[--h];