p4raw-id: //depot/perl@5155
while (c < SvEND(sv)) {
if (*c & 0x80) {
I32 len;
- UV uv = utf8_to_uv(c, &len);
+ UV uv = utf8_to_uv((U8*)c, &len);
if (uv >= 256) {
if (fail_ok)
return FALSE;
while (src < SvEND(sv)) {
if (*src & 0x80) {
I32 len;
- U8 u = (U8)utf8_to_uv(src, &len);
+ U8 u = (U8)utf8_to_uv((U8*)src, &len);
*dst++ = u;
src += len;
}