summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index 00c387ed6c..e648401617 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1132,7 +1132,7 @@ Perl_malloc(register size_t nbytes)
DEBUG_m(PerlIO_printf(Perl_debug_log,
"0x%"UVxf": (%05lu) malloc %ld bytes\n",
- PTR2UV(p), (unsigned long)(PL_an++),
+ PTR2UV((Malloc_t)(p + CHUNK_SHIFT)), (unsigned long)(PL_an++),
(long)size));
#ifdef IGNORE_SMALL_BAD_FREE