diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-03-18 10:10:55 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-03-18 10:10:55 +0000 |
commit | 8198f694f52b6a6284069a37b44bcce5847acdf2 (patch) | |
tree | 37d98345fa38b6c25ca6e1b0658ffd45c31cbfcd /cpukit/zlib/trees.c | |
parent | Import from zlib-1.2.5 (diff) | |
download | rtems-8198f694f52b6a6284069a37b44bcce5847acdf2.tar.bz2 |
Import zlib-1.2.3
Diffstat (limited to 'cpukit/zlib/trees.c')
-rw-r--r-- | cpukit/zlib/trees.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/zlib/trees.c b/cpukit/zlib/trees.c index 48c651b873..395e4e1681 100644 --- a/cpukit/zlib/trees.c +++ b/cpukit/zlib/trees.c @@ -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; |