summaryrefslogtreecommitdiffstats
path: root/lib/lz4hc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lz4hc.h')
-rw-r--r--lib/lz4hc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4hc.h b/lib/lz4hc.h
index 0523314..5eafcd6 100644
--- a/lib/lz4hc.h
+++ b/lib/lz4hc.h
@@ -131,7 +131,7 @@ LZ4LIB_API int LZ4_saveDictHC (LZ4_streamHC_t* streamHCPtr, char* safeBuffer, in
* Using these definitions makes the code vulnerable to potential API break when upgrading LZ4
**************************************/
#define LZ4HC_DICTIONARY_LOGSIZE 16
-#define LZ4HC_MAXD (1<<(LZ4HC_DICTIONARY_LOGSIZE+1))
+#define LZ4HC_MAXD (1<<(LZ4HC_DICTIONARY_LOGSIZE))
#define LZ4HC_MAXD_MASK (LZ4HC_MAXD - 1)
#define LZ4HC_HASH_LOG (LZ4HC_DICTIONARY_LOGSIZE-1)