diff -r d92124c8db73 -r 6a33a5648027 src/allocator.c --- a/src/allocator.c Fri Feb 07 17:55:28 2025 +0100 +++ b/src/allocator.c Sat Feb 08 14:13:59 2025 +0100 @@ -47,10 +47,10 @@ static void *cx_calloc_stdlib( cx_attr_unused void *d, - size_t nelem, - size_t n + size_t nmemb, + size_t size ) { - return calloc(nelem, n); + return calloc(nmemb, size); } static void cx_free_stdlib( @@ -169,10 +169,10 @@ void *cxCalloc( const CxAllocator *allocator, - size_t nelem, - size_t n + size_t nmemb, + size_t size ) { - return allocator->cl->calloc(allocator->data, nelem, n); + return allocator->cl->calloc(allocator->data, nmemb, size); } void cxFree(