]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
... When I Said "HashTable", I Meant "ChainTable" 1138/head
authorW. Felix Handte <w@felixhandte.com>
Wed, 23 May 2018 21:37:47 +0000 (17:37 -0400)
committerW. Felix Handte <w@felixhandte.com>
Fri, 25 May 2018 17:13:28 +0000 (13:13 -0400)
lib/compress/zstd_double_fast.c

index b862289bb45e21507087d1d5a7b66467b7f0841a..3e1a1d3c6ce8d22007678f4a280102cdbf1500a5 100644 (file)
@@ -73,7 +73,7 @@ size_t ZSTD_compressBlock_doubleFast_generic(
     const U32* const dictHashLong  = dictMode == ZSTD_dictMatchState ?
                                      dms->hashTable : NULL;
     const U32* const dictHashSmall = dictMode == ZSTD_dictMatchState ?
-                                     dms->hashTable : NULL;
+                                     dms->chainTable : NULL;
     const U32 dictLowestIndex      = dictMode == ZSTD_dictMatchState ?
                                      dms->window.dictLimit : 0;
     const BYTE* const dictBase     = dictMode == ZSTD_dictMatchState ?