diff options
author | Yann Collet <cyan@fb.com> | 2020-08-27 00:38:58 -0700 |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2020-08-27 00:38:58 -0700 |
commit | 875308f31f23949e297dbed525d982269a95fced (patch) | |
tree | e0708a1099a5e08bfd7cf250c2781e3fb2ddc484 /tests | |
parent | c5d6f8a8be3927c0bec91bcc58667a6cfad244ad (diff) | |
download | lz4-875308f31f23949e297dbed525d982269a95fced.tar.gz lz4-875308f31f23949e297dbed525d982269a95fced.tar.bz2 lz4-875308f31f23949e297dbed525d982269a95fced.zip |
fixed strict c90 support
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fuzzer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/fuzzer.c b/tests/fuzzer.c index beeb9d6..c385afe 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -623,8 +623,6 @@ static int FUZ_test(U32 seed, U32 nbCycles, const U32 startCycle, const double c size_t const extraneousInBytes = FUZ_rand(&randState) % 2; int const inCSize = (int)((size_t)compressedSize + extraneousInBytes); char const sentinel = decodedBuffer[targetSize] = block[targetSize] ^ 0x5A; - DISPLAYLEVEL(6,"compressedSize=%i, inCSize=%i \n", compressedSize, inCSize); - DISPLAYLEVEL(6,"decompressedSize=%i, targetDstSize=%i \n", blockSize, targetSize); int const decResult = LZ4_decompress_safe_partial(compressedBuffer, decodedBuffer, inCSize, targetSize, blockSize); FUZ_CHECKTEST(decResult<0, "LZ4_decompress_safe_partial failed despite valid input data (error:%i)", decResult); FUZ_CHECKTEST(decResult != targetSize, "LZ4_decompress_safe_partial did not regenerated required amount of data (%i < %i <= %i)", decResult, targetSize, blockSize); |