diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-11-22 23:46:15 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-11-22 23:46:15 (GMT) |
commit | b3b207c4db9378f3eb3518c0778ff03a9b5cdbb3 (patch) | |
tree | ea45c82b0f50dba17dd2bafa2b42de57a77ab8b4 /lz4hc.h | |
parent | 73554386ed8c9b08940411c0e62bbdca3216f8cd (diff) | |
download | lz4-b3b207c4db9378f3eb3518c0778ff03a9b5cdbb3.zip lz4-b3b207c4db9378f3eb3518c0778ff03a9b5cdbb3.tar.gz lz4-b3b207c4db9378f3eb3518c0778ff03a9b5cdbb3.tar.bz2 |
New endian & alignment code
Diffstat (limited to 'lz4hc.h')
-rw-r--r-- | lz4hc.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -105,9 +105,9 @@ They just use the externally allocated memory for state instead of allocating th /************************************** Experimental Streaming Functions **************************************/ -#define LZ4_STREAMHCSIZE_U32 65548 -#define LZ4_STREAMHCSIZE (LZ4_STREAMHCSIZE_U32 * sizeof(unsigned int)) -typedef struct { unsigned int table[LZ4_STREAMHCSIZE_U32]; } LZ4_streamHC_t; +#define LZ4_STREAMHCSIZE_U64 32774 +#define LZ4_STREAMHCSIZE (LZ4_STREAMHCSIZE_U64 * sizeof(unsigned long long)) +typedef struct { unsigned long long table[LZ4_STREAMHCSIZE_U64]; } LZ4_streamHC_t; /* This structure allows static allocation of LZ4 HC streaming state. |