summaryrefslogtreecommitdiffstats
path: root/lz4hc.h
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-11-22 23:46:15 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-11-22 23:46:15 (GMT)
commitb3b207c4db9378f3eb3518c0778ff03a9b5cdbb3 (patch)
treeea45c82b0f50dba17dd2bafa2b42de57a77ab8b4 /lz4hc.h
parent73554386ed8c9b08940411c0e62bbdca3216f8cd (diff)
downloadlz4-b3b207c4db9378f3eb3518c0778ff03a9b5cdbb3.zip
lz4-b3b207c4db9378f3eb3518c0778ff03a9b5cdbb3.tar.gz
lz4-b3b207c4db9378f3eb3518c0778ff03a9b5cdbb3.tar.bz2
New endian & alignment code
Diffstat (limited to 'lz4hc.h')
-rw-r--r--lz4hc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lz4hc.h b/lz4hc.h
index 23ad7c1..26ba6d3 100644
--- a/lz4hc.h
+++ b/lz4hc.h
@@ -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.