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:
a296839
)
proper fullbench's LZ4_calloc()
author
Yann Collet
<cyan@fb.com>
Mon, 9 Nov 2020 18:58:31 +0000
(10:58 -0800)
committer
Yann Collet
<cyan@fb.com>
Mon, 9 Nov 2020 18:58:31 +0000
(10:58 -0800)
tests/fullbench.c
patch
|
blob
|
history
diff --git
a/tests/fullbench.c
b/tests/fullbench.c
index 181128e6649276c615880b23db8d446ca4b7fbfc..cb9b684f2ccba49bdffa034b2d5f33fc7f4b69fe 100644
(file)
--- a/
tests/fullbench.c
+++ b/
tests/fullbench.c
@@
-159,7
+159,7
@@
static size_t BMK_findMaxMem(U64 requiredMem)
* Memory management, to test LZ4_USER_MEMORY_FUNCTIONS
*********************************************************/
void* LZ4_malloc(size_t s) { return malloc(s); }
-void* LZ4_calloc(size_t n, size_t s) {
(void)n; return calloc(1
,s); }
+void* LZ4_calloc(size_t n, size_t s) {
return calloc(n
,s); }
void LZ4_free(void* p) { free(p); }