summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-11-06 20:22:14 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-11-06 20:22:14 +0000
commitc8db6e6067ab313bf2ff131319461d5b6062de7d (patch)
tree61e109917567b6729afd30e263b9e6c29d1fffa5 /dump.c
parent97835f67dc68ecdcf0cbeacababd285be324e710 (diff)
downloadperl-c8db6e6067ab313bf2ff131319461d5b6062de7d.tar.gz
...and fewer.
p4raw-id: //depot/cfgperl@4527
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dump.c b/dump.c
index 7fef2281ad..1e216c5fbd 100644
--- a/dump.c
+++ b/dump.c
@@ -30,7 +30,7 @@ void
Perl_dump_vindent(pTHX_ I32 level, PerlIO *file, const char* pat, va_list *args)
{
dTHR;
- PerlIO_printf(file, "%*s", level*PL_dumpindent, "");
+ PerlIO_printf(file, "%*s", (int)(level*PL_dumpindent), "");
PerlIO_vprintf(file, pat, *args);
}
@@ -377,7 +377,9 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o)
PerlIO_printf(file, "%-4d", o->op_seq);
else
PerlIO_printf(file, " ");
- PerlIO_printf(file, "%*sTYPE = %s ===> ", PL_dumpindent*level-4, "", PL_op_name[o->op_type]);
+ PerlIO_printf(file,
+ "%*sTYPE = %s ===> ",
+ (int)(PL_dumpindent*level-4), "", PL_op_name[o->op_type]);
if (o->op_next) {
if (o->op_seq)
PerlIO_printf(file, "%d\n", o->op_next->op_seq);