This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
sv.c: %d ne size_t
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 16 Apr 2007 14:31:42 +0000 (17:31 +0300)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 16 Apr 2007 11:44:54 +0000 (11:44 +0000)
Message-Id: <200704161131.l3GBVg3n104476@kosh.hut.fi>

p4raw-id: //depot/perl@30966

sv.c

diff --git a/sv.c b/sv.c
index c5508cd..ecea4f9 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -686,8 +686,8 @@ Perl_get_arena(pTHX_ size_t arena_size, U32 misc)
     Newx(adesc->arena, arena_size, char);
     adesc->size = arena_size;
     adesc->misc = misc;
-    DEBUG_m(PerlIO_printf(Perl_debug_log, "arena %d added: %p size %d\n", 
-                         curr, (void*)adesc->arena, arena_size));
+    DEBUG_m(PerlIO_printf(Perl_debug_log, "arena %d added: %p size %"UVuf"\n", 
+                         curr, (void*)adesc->arena, (UV)arena_size));
 
     return adesc->arena;
 }