summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/fuzzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzzer.c b/tests/fuzzer.c
index 3eb5789..84f9693 100644
--- a/tests/fuzzer.c
+++ b/tests/fuzzer.c
@@ -1208,7 +1208,7 @@ static void FUZ_unitTests(int compressionLevel)
char c2;
LZ4_streamHC_t hc3;
} shct;
- shct* const shc = malloc(sizeof(*shc));
+ shct* const shc = (shct*)malloc(sizeof(*shc));
assert(shc != NULL);
memset(shc, 0, sizeof(*shc));
DISPLAYLEVEL(3, "hc1(%p) hc2(%p) hc3(%p) size(0x%x): ",