From 3667b52644f6de04e0794d70fd3b6643f66442d7 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Fri, 14 Sep 2012 22:55:56 -0700 Subject: [PATCH] Fix build under C++ Commit 9ac6f7d90 was missing a few casts. --- sv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sv.c b/sv.c index 5996ec1..2bf9e8f 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); } -- 1.8.3.1