diff options
-rw-r--r-- | tests/fuzzer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzzer.c b/tests/fuzzer.c index 0eece15..234be7c 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -487,7 +487,7 @@ static int FUZ_test(U32 seed, U32 nbCycles, const U32 startCycle, const double c /* Decompression tests */ /* Test decompress_fast() with input buffer size exactly correct => must not read out of bound */ - { char* const cBuffer_exact = malloc((size_t)compressedSize); + { char* const cBuffer_exact = (char*)malloc((size_t)compressedSize); assert(cBuffer_exact != NULL); memcpy(cBuffer_exact, compressedBuffer, compressedSize); |