projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7611649
)
one more conversion warning
author
Yann Collet
<cyan@fb.com>
Wed, 29 May 2019 20:17:45 +0000
(13:17 -0700)
committer
Yann Collet
<cyan@fb.com>
Wed, 29 May 2019 20:17:45 +0000
(13:17 -0700)
tests/fuzzer.c
patch
|
blob
|
history
diff --git
a/tests/fuzzer.c
b/tests/fuzzer.c
index
9225e5b
..
0cd651d
100644
(file)
--- 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);