summaryrefslogtreecommitdiffstats
path: root/lib/xfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xfuncs.c')
-rw-r--r--lib/xfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xfuncs.c b/lib/xfuncs.c
index 4649280329..db85720195 100644
--- a/lib/xfuncs.c
+++ b/lib/xfuncs.c
@@ -30,7 +30,7 @@ void *xmalloc(size_t size)
if (!(p = malloc(size)))
panic("ERROR: out of memory\n");
- debug("xmalloc %p (size %d)\n", p, size);
+ debug("xmalloc %p (size %zu)\n", p, size);
return p;
}
@@ -43,7 +43,7 @@ void *xrealloc(void *ptr, size_t size)
if (!(p = realloc(ptr, size)))
panic("ERROR: out of memory\n");
- debug("xrealloc %p -> %p (size %d)\n", ptr, p, size);
+ debug("xrealloc %p -> %p (size %zu)\n", ptr, p, size);
return p;
}