summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-06-19 14:52:17 +0100
committerDavid Mitchell <davem@iabyn.com>2015-06-19 15:57:14 +0100
commitac892e4a230de5bdb9243ef5c82b0fb5be7f8975 (patch)
treec7372b2e9aeab97a861ef1d8f3a205997ec34f8e /dump.c
parentd48cfc773d16936b4dfcfc305fcae6cc56950fce (diff)
downloadperl-ac892e4a230de5bdb9243ef5c82b0fb5be7f8975.tar.gz
silence some gcc -pendantic warnings
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dump.c b/dump.c
index bd9d12c608..d501cefe03 100644
--- a/dump.c
+++ b/dump.c
@@ -2317,7 +2317,7 @@ S_append_gv_name(pTHX_ GV *gv, SV *out)
}
sv = newSV(0);
gv_fullname4(sv, gv, NULL, FALSE);
- Perl_sv_catpvf(aTHX_ out, "%c%-p", '$', sv);
+ Perl_sv_catpvf(aTHX_ out, "$%"SVf, SVfARG(sv));
SvREFCNT_dec_NN(sv);
}
@@ -2524,8 +2524,8 @@ Perl_debop(pTHX_ const OP *o)
break;
case OP_MULTIDEREF:
- PerlIO_printf(Perl_debug_log, "(%-p)",
- multideref_stringify(o, deb_curcv(cxstack_ix)));
+ PerlIO_printf(Perl_debug_log, "(%"SVf")",
+ SVfARG(multideref_stringify(o, deb_curcv(cxstack_ix))));
break;
default: