summaryrefslogtreecommitdiff
path: root/src/core/alloc_func.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/alloc_func.cpp')
-rw-r--r--src/core/alloc_func.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/alloc_func.cpp b/src/core/alloc_func.cpp
index 028335d76..236a9c9d5 100644
--- 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);
}