diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-10-05 20:32:32 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-10-05 20:32:32 -0700 |
| commit | 518ad0177ae2f1aaefc49285b3536a6bd8d9973c (patch) | |
| tree | ce34c28c85d014e9556c9f265e9d12c13ff4635c | |
| parent | af030e4273cd5c5ecbb4899061f0e6535866a179 (diff) | |
| download | zlib-518ad0177ae2f1aaefc49285b3536a6bd8d9973c.tar.gz zlib-518ad0177ae2f1aaefc49285b3536a6bd8d9973c.tar.bz2 zlib-518ad0177ae2f1aaefc49285b3536a6bd8d9973c.zip | |
Get inffixed.h and MAKEFIXED result to match.
Diffstat (limited to '')
| -rw-r--r-- | inffixed.h | 6 | ||||
| -rw-r--r-- | inflate.c | 4 |
2 files changed, 5 insertions, 5 deletions
| @@ -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] = { |
| @@ -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 | } |
