diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 21:26:47 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 21:26:47 +0000 |
commit | b4983fe4c3f633f88d7001690ff37218fb8a3245 (patch) | |
tree | 91437cedd1ed1e109c653c9188015ac465d08690 /cpukit/zlib/trees.c | |
parent | 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-b4983fe4c3f633f88d7001690ff37218fb8a3245.tar.bz2 |
Upgrade to zlib-1.2.3.
Diffstat (limited to 'cpukit/zlib/trees.c')
-rw-r--r-- | cpukit/zlib/trees.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/zlib/trees.c b/cpukit/zlib/trees.c index f0b8d1ec38..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 */ @@ -29,7 +29,7 @@ * Addison-Wesley, 1983. ISBN 0-201-06672-6. */ -/* $Id$ */ +/* @(#) $Id$ */ /* #define GEN_TREES_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; |