one more conversion warning
authorYann Collet <cyan@fb.com>
Wed, 29 May 2019 20:17:45 +0000 (13:17 -0700)
committerYann Collet <cyan@fb.com>
Wed, 29 May 2019 20:17:45 +0000 (13:17 -0700)
tests/fuzzer.c

index 9225e5b..0cd651d 100644 (file)
@@ -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);