proper fullbench's LZ4_calloc()

This commit is contained in:
Yann Collet 2020-11-09 10:58:31 -08:00
parent a296839802
commit 2c4af01e19

View File

@ -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); }