summaryrefslogtreecommitdiff
path: root/headers.c
diff options
context:
space:
mode:
Diffstat (limited to 'headers.c')
-rw-r--r--headers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/headers.c b/headers.c
index b40fdfb8..9e4df98f 100644
--- a/headers.c
+++ b/headers.c
@@ -140,7 +140,7 @@ GC_INNER ptr_t GC_scratch_alloc(size_t bytes)
result = (ptr_t)GET_MEM(bytes_to_get);
if (EXPECT(NULL == result, FALSE)) {
WARN("Out of memory - trying to allocate requested amount"
- " (%" WARN_PRIdPTR " bytes)...\n", (word)bytes);
+ " (%" WARN_PRIuPTR " bytes)...\n", bytes);
bytes_to_get = ROUNDUP_PAGESIZE_IF_MMAP(bytes);
result = (ptr_t)GET_MEM(bytes_to_get);
if (result != NULL) {