summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-09-14 22:55:56 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-09-14 22:56:11 -0700
commit3667b52644f6de04e0794d70fd3b6643f66442d7 (patch)
tree8deb382368e4b04796472bcf1acfd840f15fb486 /sv.c
parentcbacc9aa064469dbad90cdce51a3e7abbdf202be (diff)
downloadperl-3667b52644f6de04e0794d70fd3b6643f66442d7.tar.gz
Fix build under C++
Commit 9ac6f7d90 was missing a few casts.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 5996ec17eb..2bf9e8f68b 100644
--- a/sv.c
+++ b/sv.c
@@ -10381,7 +10381,8 @@ Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN p
goto vdblank;
}
vecsv = sv_newmortal();
- scan_vstring(vecstr, vecstr + veclen, vecsv);
+ scan_vstring((char *)vecstr, (char *)vecstr + veclen,
+ vecsv);
vecstr = (U8*)SvPV_const(vecsv, veclen);
vec_utf8 = DO_UTF8(vecsv);
}