summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-12-02 12:04:08 +0000
committerDavid Mitchell <davem@iabyn.com>2015-12-02 12:08:48 +0000
commit30773234952bc812474fe0c956f7ce14e822e0cd (patch)
tree5146e72ee20aca406c643381cfa8677592bad4da /scope.c
parent473edb6554ba163273fdcd621aab071bffbb16d3 (diff)
downloadperl-30773234952bc812474fe0c956f7ce14e822e0cd.tar.gz
markstack_grow(): fix debugging stuff
This is a follow-on to commit ac07059afc75: FOOMARK debugging macros: fix %d cast; only -Dsv which missed fixing up the debugging statement in markstack_grow().
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/scope.c b/scope.c
index 037bbc00fd..7df465f9f0 100644
--- a/scope.c
+++ b/scope.c
@@ -131,8 +131,9 @@ Perl_markstack_grow(pTHX)
Renew(PL_markstack, newmax, I32);
PL_markstack_max = PL_markstack + newmax;
PL_markstack_ptr = PL_markstack + oldmax;
- DEBUG_s(PerlIO_printf(Perl_debug_log, "MARK grow %p %d by %d\n",
- PL_markstack_ptr, *PL_markstack_ptr, oldmax));
+ DEBUG_s(DEBUG_v(PerlIO_printf(Perl_debug_log,
+ "MARK grow %p %"IVdf" by %"IVdf"\n",
+ PL_markstack_ptr, (IV)*PL_markstack_ptr, (IV)oldmax)));
return PL_markstack_ptr;
}