From: Nicholas Clark Date: Tue, 21 Mar 2006 22:09:51 +0000 (+0000) Subject: (Hopefully) make VMS happy. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ef816a7825f62e55a90703026042ab32dd69a74f;p=p5sagit%2Fp5-mst-13.2.git (Hopefully) make VMS happy. p4raw-id: //depot/perl@27564 --- diff --git a/sv.c b/sv.c index e8b46ca..6021c41 100644 --- a/sv.c +++ b/sv.c @@ -5600,7 +5600,7 @@ S_utf8_mg_pos_cache_update(pTHX_ SV *sv, MAGIC **mgp, STRLEN byte, STRLEN utf8) assert(cache); if (PL_utf8cache < 0) { - const char *start = SvPVX_const(sv); + const U8 *start = (const U8 *) SvPVX_const(sv); const STRLEN realutf8 = S_sv_pos_b2u_forwards(aTHX_ start, start + byte);