summaryrefslogtreecommitdiffstats
path: root/tests/fuzzer.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2019-01-09 20:41:03 (GMT)
committerYann Collet <cyan@fb.com>2019-01-09 21:18:43 (GMT)
commitfbebf0345dde5855837460593df0f84931b20fc4 (patch)
treed169963bcee16a460c1d34aee757489a58529cc4 /tests/fuzzer.c
parente953474464b36785fd7f0f383c52c798a695dbf4 (diff)
downloadlz4-fbebf0345dde5855837460593df0f84931b20fc4.zip
lz4-fbebf0345dde5855837460593df0f84931b20fc4.tar.gz
lz4-fbebf0345dde5855837460593df0f84931b20fc4.tar.bz2
minor explicit cast warning
Diffstat (limited to 'tests/fuzzer.c')
-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()")