summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2001-01-12 20:03:14 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-12 20:20:14 +0000
commit0844c848650aa2551dce1a55f02e43855fb98df9 (patch)
tree2aeff53b179ea421c7d3f7c667b0bc8251defa32 /toke.c
parentc99ca59a5ccc5001ce682c48b817515fa72f07ab (diff)
downloadperl-0844c848650aa2551dce1a55f02e43855fb98df9.tar.gz
-Wformat
Message-Id: <200101122003.UAA29599@tempest.npl.co.uk> p4raw-id: //depot/perl@8425
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index b82a7c4e9b..ea32115abd 100644
--- a/toke.c
+++ b/toke.c
@@ -2861,7 +2861,7 @@ Perl_yylex(pTHX)
if (ftst) {
PL_last_lop_op = ftst;
DEBUG_T( { PerlIO_printf(Perl_debug_log,
- "### Saw file test %c\n", ftst);
+ "### Saw file test %c\n", (int)ftst);
} )
FTST(ftst);
}
@@ -2869,7 +2869,8 @@ Perl_yylex(pTHX)
/* Assume it was a minus followed by a one-letter named
* subroutine call (or a -bareword), then. */
DEBUG_T( { PerlIO_printf(Perl_debug_log,
- "### %c looked like a file test but was not\n", ftst);
+ "### %c looked like a file test but was not\n",
+ (int)ftst);
} )
s -= 2;
}