Skip to content

Commit 8f2280c

Browse files
committed
Merge bugfix
1 parent 83ec289 commit 8f2280c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/compress/zstd_compress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ ZSTD_reset_matchState(ZSTD_matchState_t* ms,
19781978
ZSTD_advanceHashSalt(ms);
19791979
} else {
19801980
/* When we are not salting we want to always memset the memory */
1981-
ms->tagTable = (U16 *) ZSTD_cwksp_reserve_aligned(ws, tagTableSize);
1981+
ms->tagTable = ZSTD_cwksp_reserve_aligned(ws, tagTableSize);
19821982
ZSTD_memset(ms->tagTable, 0, tagTableSize);
19831983
ms->hashSalt = 0;
19841984
}

0 commit comments

Comments
 (0)