]> wimlib.net Git - wimlib/blobdiff - src/lzms-decompress.c
Optimize Huffman code generation
[wimlib] / src / lzms-decompress.c
index 6cc6dab326e795484ed678a3716cf06bff77efe0..2bc1c754cd69e49b86c17cce9e934ed888392cd4 100644 (file)
@@ -304,7 +304,7 @@ struct lzms_huffman_decoder {
        u8 lens[LZMS_MAX_NUM_SYMS];
 
        /* The codeword of each symbol in the Huffman code.  */
-       u16 codewords[LZMS_MAX_NUM_SYMS];
+       u32 codewords[LZMS_MAX_NUM_SYMS];
 
        /* A table for quickly decoding symbols encoded using the Huffman code.
         */