summaryrefslogtreecommitdiffstats
path: root/lz4.h
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-11-27 21:44:36 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-11-27 21:44:36 (GMT)
commit2d98faf238516ecd6588f9202f8ae546c0b798e4 (patch)
tree4bf127ce81d001a0c3cd2cfe4b8cd14b5a0f563d /lz4.h
parent86fa21b3019d7e9983704661966a64f5aa1456bf (diff)
downloadlz4-2d98faf238516ecd6588f9202f8ae546c0b798e4.zip
lz4-2d98faf238516ecd6588f9202f8ae546c0b798e4.tar.gz
lz4-2d98faf238516ecd6588f9202f8ae546c0b798e4.tar.bz2
Improved decoding speed
Diffstat (limited to 'lz4.h')
-rw-r--r--lz4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lz4.h b/lz4.h
index c9ed49f..8b03995 100644
--- a/lz4.h
+++ b/lz4.h
@@ -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