summaryrefslogtreecommitdiffstats
path: root/tests/fuzzer.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2020-10-31 08:55:04 (GMT)
committerYann Collet <cyan@fb.com>2020-10-31 08:55:04 (GMT)
commitad552101ddeef3bf1967048ecb3cc5844a1ad470 (patch)
tree302a4286e2585282d229920343448b4003140eeb /tests/fuzzer.c
parent4b97866333523b2bc778d88fe68b6b86ea26ce6e (diff)
downloadlz4-ad552101ddeef3bf1967048ecb3cc5844a1ad470.zip
lz4-ad552101ddeef3bf1967048ecb3cc5844a1ad470.tar.gz
lz4-ad552101ddeef3bf1967048ecb3cc5844a1ad470.tar.bz2
fix minor explicit cast
Diffstat (limited to 'tests/fuzzer.c')
-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): ",