diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-12-25 17:09:07 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-12-25 17:09:07 +0000 |
commit | 11bf5ae46dc4ca1e784f868ece0ae607048cd9a7 (patch) | |
tree | a0e4f224e831701b662c36d5920da547de9db1c7 /regcomp.c | |
parent | 1f1031fe96c14865e4f60fdd3a6a6ce073d190c1 (diff) | |
download | perl-11bf5ae46dc4ca1e784f868ece0ae607048cd9a7.tar.gz |
Fix a couple of warnings
p4raw-id: //depot/perl@29622
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6396,7 +6396,6 @@ tryagain: U32 num = 0; SV *sv_dat = reg_scan_name(pRExC_state, SIZE_ONLY ? REG_RSN_RETURN_NULL : REG_RSN_RETURN_DATA); - char sch = ch; ch= (ch == '<') ? '>' : (ch == '{') ? '}' : '\''; if (RExC_parse == name_start || *RExC_parse != ch) vFAIL2("Sequence %.3s... not terminated",parse_start); @@ -8387,7 +8386,7 @@ Perl_regprop(pTHX_ const regexp *prog, SV *sv, const regnode *o) I32 n; if (name) { for ( n=0; n<SvIVX(sv_dat); n++ ) { - Perl_sv_catpvf(aTHX_ sv, "%s%d",( n ? "," : "" ),nums[n]); + Perl_sv_catpvf(aTHX_ sv, "%s%"IVdf, ( n ? "," : "" ), nums[n]); } Perl_sv_catpvf(aTHX_ sv, " '%"SVf"'", *name ); } |