summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/fuzzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzzer.c b/tests/fuzzer.c
index 33e4753..56535b7 100644
--- a/tests/fuzzer.c
+++ b/tests/fuzzer.c
@@ -1108,7 +1108,7 @@ static void FUZ_unitTests(int compressionLevel)
LZ4_resetStreamHC(&sHC, 3);
assert(blockSize < INT_MAX);
srcSize = (int)blockSize;
- result = LZ4_compress_HC_destSize(&sHC, block, dstBlock, &srcSize, targetSize, 3);
+ result = LZ4_compress_HC_destSize(&sHC, block, dstBlock, &srcSize, (int)targetSize, 3);
FUZ_CHECKTEST(result!=0, "LZ4_compress_HC_destSize() : compression must fail !");
FUZ_CHECKTEST(((char*)dstBlock)[targetSize] != sentinel, "LZ4_compress_HC_destSize()")