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:
4b97866
)
fix minor explicit cast
author
Yann Collet
<cyan@fb.com>
Sat, 31 Oct 2020 08:55:04 +0000
(
01:55
-0700)
committer
Yann Collet
<cyan@fb.com>
Sat, 31 Oct 2020 08:55:04 +0000
(
01:55
-0700)
tests/fuzzer.c
patch
|
blob
|
history
diff --git
a/tests/fuzzer.c
b/tests/fuzzer.c
index 3eb57899bcd45be80cc5975b82b35162b8690e27..84f969372afc6c078e1343453b23d41a45fd2b63 100644
(file)
--- 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): ",