summaryrefslogtreecommitdiffstats
path: root/tests/fuzzer.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2019-05-29 20:17:45 (GMT)
committerYann Collet <cyan@fb.com>2019-05-29 20:17:45 (GMT)
commit45eba5b0303c7a960b46fa07c3f578f5051826d8 (patch)
tree427e7aff58224077a9c565ba0ef8936354ef5c59 /tests/fuzzer.c
parent76116495bfd2096f06c923ebe865c59e42f32b07 (diff)
downloadlz4-45eba5b0303c7a960b46fa07c3f578f5051826d8.zip
lz4-45eba5b0303c7a960b46fa07c3f578f5051826d8.tar.gz
lz4-45eba5b0303c7a960b46fa07c3f578f5051826d8.tar.bz2
one more conversion 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 9225e5b..0cd651d 100644
--- a/tests/fuzzer.c
+++ b/tests/fuzzer.c
@@ -1022,7 +1022,7 @@ static void FUZ_unitTests(int compressionLevel)
char* const startInput = testCompressed + startIndex;
XXH32_hash_t const crcOrig = XXH32(testInput, sampleSize, 0);
int cSize;
- assert(outSize < testCompressedSize);
+ assert(outSize < (int)testCompressedSize);
memcpy(startInput, testInput, sampleSize); /* copy at end of buffer */
/* compress in-place */
cSize = LZ4_compress_default(startInput, testCompressed, sampleSize, maxCSize);