projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93a0968
)
(Hopefully) make VMS happy.
author
Nicholas Clark
<nick@ccl4.org>
Tue, 21 Mar 2006 22:09:51 +0000
(22:09 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Tue, 21 Mar 2006 22:09:51 +0000
(22:09 +0000)
p4raw-id: //depot/perl@27564
sv.c
patch
|
blob
|
history
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);