summaryrefslogtreecommitdiff
path: root/inftrees.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:20:15 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:20:15 -0700
commitc34c1fcbb19852ca35216ad66276f4f86af3fc22 (patch)
tree4bd0972d6c682e474725eca372f6551d539f8768 /inftrees.h
parent02b6cf579f02ec78c052735020a5d3c5723ed641 (diff)
zlib 1.1.2
Diffstat (limited to 'inftrees.h')
-rw-r--r--inftrees.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/inftrees.h b/inftrees.h
index c2513d1..85853e0 100644
--- a/inftrees.h
+++ b/inftrees.h
@@ -19,17 +19,15 @@ struct inflate_huft_s {
Byte Exop; /* number of extra bits or operation */
Byte Bits; /* number of bits in this code or subcode */
} what;
- Bytef *pad; /* pad structure to a power of 2 (4 bytes for */
- } word; /* 16-bit, 8 bytes for 32-bit machines) */
- union {
- uInt Base; /* literal, length base, or distance base */
- inflate_huft *Next; /* pointer to next level of table */
- } more;
+ uInt pad; /* pad structure to a power of 2 (4 bytes for */
+ } word; /* 16-bit, 8 bytes for 32-bit int's) */
+ uInt base; /* literal, length base, distance base,
+ or table offset */
};
/* Maximum size of dynamic tree. The maximum found in a long but non-
- exhaustive search was 1041 huft structures (875 for length/literals
- and 166 for distances, the latter actually the result of an
+ exhaustive search was 1004 huft structures (850 for length/literals
+ and 154 for distances, the latter actually the result of an
exhaustive search). The actual maximum is not known, but the
value below is more than safe. */
#define MANY 1440