summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/malloc/alloc.c')
-rw-r--r--libc/stdlib/malloc/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/alloc.c b/libc/stdlib/malloc/alloc.c
index a521cf2e8..99537a35d 100644
--- a/libc/stdlib/malloc/alloc.c
+++ b/libc/stdlib/malloc/alloc.c
@@ -52,7 +52,7 @@ void free_dbg(void *ptr, char *function, char *file, int line)
void *realloc_dbg(void *ptr, size_t size, char *function, char *file, int line)
{
fprintf(stderr, "realloc of %p to %ld bytes at %s @%s;%d = ", ptr,
- size, function, file, line);
+ (long)size, function, file, line);
ptr = realloc(ptr, size);
fprintf(stderr, "%p\n", ptr);
return ptr;