diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-11-27 21:44:36 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-11-27 21:44:36 (GMT) |
commit | 2d98faf238516ecd6588f9202f8ae546c0b798e4 (patch) | |
tree | 4bf127ce81d001a0c3cd2cfe4b8cd14b5a0f563d /lz4.h | |
parent | 86fa21b3019d7e9983704661966a64f5aa1456bf (diff) | |
download | lz4-2d98faf238516ecd6588f9202f8ae546c0b798e4.zip lz4-2d98faf238516ecd6588f9202f8ae546c0b798e4.tar.gz lz4-2d98faf238516ecd6588f9202f8ae546c0b798e4.tar.bz2 |
Improved decoding speed
Diffstat (limited to 'lz4.h')
-rw-r--r-- | lz4.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -173,13 +173,13 @@ int LZ4_decompress_safe_partial (const char* source, char* dest, int compressedS ***********************************************/ #define LZ4_STREAMSIZE_U64 ((1 << (LZ4_MEMORY_USAGE-3)) + 4) -#define LZ4_STREAMSIZE (LZ4_STREAMSIZE_U64 * sizeof(unsigned long long)) +#define LZ4_STREAMSIZE (LZ4_STREAMSIZE_U64 * sizeof(long long)) /* * LZ4_stream_t * information structure to track an LZ4 stream. * important : init this structure content before first use ! */ -typedef struct { unsigned long long table[LZ4_STREAMSIZE_U64]; } LZ4_stream_t; +typedef struct { long long table[LZ4_STREAMSIZE_U64]; } LZ4_stream_t; /* * LZ4_resetStream |