(Hopefully) make VMS happy.
authorNicholas Clark <nick@ccl4.org>
Tue, 21 Mar 2006 22:09:51 +0000 (22:09 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 21 Mar 2006 22:09:51 +0000 (22:09 +0000)
p4raw-id: //depot/perl@27564

sv.c

diff --git a/sv.c b/sv.c
index e8b46ca..6021c41 100644 (file)
--- 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);