summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2001-03-29 14:29:21 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-29 14:26:03 +0000
commit29b291f76369791070837587a559330fa49a7060 (patch)
tree80be341f8bb06fd723c50206e2b57f6e529c677b /toke.c
parent210db7fc53b6b7664595bb19b3377dc4d623b968 (diff)
downloadperl-29b291f76369791070837587a559330fa49a7060.tar.gz
printf warning
Message-Id: <200103291229.NAA03968@tempest.npl.co.uk> p4raw-id: //depot/perl@9436
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 00fe0b5504..85ac7f2bb0 100644
--- a/toke.c
+++ b/toke.c
@@ -187,7 +187,8 @@ S_tokereport(pTHX_ char *thing, char* s, I32 rv)
SV *report;
DEBUG_T({
report = newSVpv(thing, 0);
- Perl_sv_catpvf(aTHX_ report, ":line %i:%i:", CopLINE(PL_curcop), rv);
+ Perl_sv_catpvf(aTHX_ report, ":line %d:%"IVdf":", CopLINE(PL_curcop),
+ (IV)rv);
if (s - PL_bufptr > 0)
sv_catpvn(report, PL_bufptr, s - PL_bufptr);