diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-09-14 22:55:56 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-09-14 22:56:11 -0700 |
commit | 3667b52644f6de04e0794d70fd3b6643f66442d7 (patch) | |
tree | 8deb382368e4b04796472bcf1acfd840f15fb486 /sv.c | |
parent | cbacc9aa064469dbad90cdce51a3e7abbdf202be (diff) | |
download | perl-3667b52644f6de04e0794d70fd3b6643f66442d7.tar.gz |
Fix build under C++
Commit 9ac6f7d90 was missing a few casts.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } |