diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:24:52 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:24:52 -0700 |
| commit | 9c3a5830218c4e7fff23b8fc4386269db77a03a9 (patch) | |
| tree | 913542049433ae44de55d22913f6bca921f2dc15 /trees.c | |
| parent | 6b8233bfe00e79134cb1b84fc49d4f750a797f79 (diff) | |
| download | Project-Tick-9c3a5830218c4e7fff23b8fc4386269db77a03a9.tar.gz Project-Tick-9c3a5830218c4e7fff23b8fc4386269db77a03a9.zip | |
zlib 1.2.2.4
Diffstat (limited to 'trees.c')
| -rw-r--r-- | trees.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* trees.c -- output deflated data using Huffman coding - * Copyright (C) 1995-2004 Jean-loup Gailly + * Copyright (C) 1995-2005 Jean-loup Gailly * For conditions of distribution and use, see copyright notice in zlib.h */ @@ -555,7 +555,7 @@ local void gen_bitlen(s, desc) while (n != 0) { m = s->heap[--h]; if (m > max_code) continue; - if (tree[m].Len != (unsigned) bits) { + if ((unsigned) tree[m].Len != (unsigned) bits) { Trace((stderr,"code %d bits %d->%d\n", m, tree[m].Len, bits)); s->opt_len += ((long)bits - (long)tree[m].Len) *(long)tree[m].Freq; |
