X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fxpress-compress.c;h=ad9dcff76de3718ba19a4a902bb4dfe4deb39353;hp=518a0e3ba70b23fdd24a85df93a95c5da33f4f52;hb=acfc301115f69877a634f3141908747a54f678a0;hpb=49a63aa13cdeb4c1348697ccd92207a1a65ec7b0 diff --git a/src/xpress-compress.c b/src/xpress-compress.c index 518a0e3b..ad9dcff7 100644 --- a/src/xpress-compress.c +++ b/src/xpress-compress.c @@ -99,7 +99,7 @@ xpress_write_matches_and_literals(struct output_bitstream *ostream, } struct xpress_record_ctx { - freq_t freqs[XPRESS_NUM_SYMBOLS]; + input_idx_t freqs[XPRESS_NUM_SYMBOLS]; struct xpress_match *matches; }; @@ -237,7 +237,7 @@ wimlib_xpress_compress(const void * restrict uncompressed_data, } compressed_len += XPRESS_NUM_SYMBOLS / 2; -#if defined(ENABLE_XPRESS_DEBUG) || defined(ENABLE_VERIFY_COMPRESSION) || 1 +#if defined(ENABLE_XPRESS_DEBUG) || defined(ENABLE_VERIFY_COMPRESSION) /* Verify that we really get the same thing back when decompressing. */ if (wimlib_xpress_decompress(compressed_data, compressed_len, udata, uncompressed_len))