From c34c1fcbb19852ca35216ad66276f4f86af3fc22 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:20:15 -0700 Subject: zlib 1.1.2 --- inftrees.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'inftrees.h') 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 -- cgit v1.2.3-55-g6feb