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:
444550d
)
fixed minor conversion warning
author
Yann Collet
<cyan@fb.com>
Wed, 29 May 2019 19:56:27 +0000
(12:56 -0700)
committer
Yann Collet
<cyan@fb.com>
Wed, 29 May 2019 19:56:27 +0000
(12:56 -0700)
tests/fuzzer.c
patch
|
blob
|
history
diff --git
a/tests/fuzzer.c
b/tests/fuzzer.c
index
e04caa5
..
8107cb8
100644
(file)
--- a/
tests/fuzzer.c
+++ b/
tests/fuzzer.c
@@
-1031,7
+1031,7
@@
static void FUZ_unitTests(int compressionLevel)
assert(cSize <= (int)maxCSize);
/* decompress and verify */
{ int const dSize = LZ4_decompress_safe(testCompressed, testVerify, cSize, testInputSize);
- assert(dSize == sampleSize); /* correct size */
+ assert(dSize ==
(int)
sampleSize); /* correct size */
{ XXH32_hash_t const crcCheck = XXH32(testVerify, (size_t)dSize, 0);
assert(crcCheck == crcOrig);
} } }