diff --git a/src/core/alloc_func.cpp b/src/core/alloc_func.cpp --- a/src/core/alloc_func.cpp +++ b/src/core/alloc_func.cpp @@ -11,7 +11,7 @@ */ void NORETURN MallocError(size_t size) { - error("Out of memory. Cannot allocate %i bytes", size); + error("Out of memory. Cannot allocate " PRINTF_SIZE " bytes", size); } /** @@ -20,5 +20,5 @@ void NORETURN MallocError(size_t size) */ void NORETURN ReallocError(size_t size) { - error("Out of memory. Cannot reallocate %i bytes", size); + error("Out of memory. Cannot reallocate " PRINTF_SIZE " bytes", size); }