From: Yann Collet Date: Wed, 29 May 2019 20:17:45 +0000 (-0700) Subject: one more conversion warning X-Git-Tag: upstream/1.9.3~2^2~32^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45eba5b0303c7a960b46fa07c3f578f5051826d8;p=platform%2Fupstream%2Flz4.git one more conversion warning --- 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);