summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-10-05 20:32:32 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-10-05 20:32:32 -0700
commit518ad0177ae2f1aaefc49285b3536a6bd8d9973c (patch)
treece34c28c85d014e9556c9f265e9d12c13ff4635c
parentaf030e4273cd5c5ecbb4899061f0e6535866a179 (diff)
downloadzlib-518ad0177ae2f1aaefc49285b3536a6bd8d9973c.tar.gz
zlib-518ad0177ae2f1aaefc49285b3536a6bd8d9973c.tar.bz2
zlib-518ad0177ae2f1aaefc49285b3536a6bd8d9973c.zip
Get inffixed.h and MAKEFIXED result to match.
-rw-r--r--inffixed.h6
-rw-r--r--inflate.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/inffixed.h b/inffixed.h
index 75ed4b5..d628327 100644
--- a/inffixed.h
+++ b/inffixed.h
@@ -2,9 +2,9 @@
2 * Generated automatically by makefixed(). 2 * Generated automatically by makefixed().
3 */ 3 */
4 4
5 /* WARNING: this file should *not* be used by applications. It 5 /* WARNING: this file should *not* be used by applications.
6 is part of the implementation of the compression library and 6 It is part of the implementation of this library and is
7 is subject to change. Applications should only use zlib.h. 7 subject to change. Applications should only use zlib.h.
8 */ 8 */
9 9
10 static const code lenfix[512] = { 10 static const code lenfix[512] = {
diff --git a/inflate.c b/inflate.c
index a8431ab..dd880c4 100644
--- a/inflate.c
+++ b/inflate.c
@@ -321,8 +321,8 @@ void makefixed()
321 low = 0; 321 low = 0;
322 for (;;) { 322 for (;;) {
323 if ((low % 7) == 0) printf("\n "); 323 if ((low % 7) == 0) printf("\n ");
324 printf("{%u,%u,%d}", state.lencode[low].op, state.lencode[low].bits, 324 printf("{%u,%u,%d}", (low & 127) == 99 ? 64 : state.lencode[low].op,
325 state.lencode[low].val); 325 state.lencode[low].bits, state.lencode[low].val);
326 if (++low == size) break; 326 if (++low == size) break;
327 putchar(','); 327 putchar(',');
328 } 328 }