case 0xC3:
case 0xCE:
if (FOLD && is_TRICKYFOLD(RExC_parse,UTF)) {
- U32 len = UTF ? 0 : 1;
+ STRLEN len = UTF ? 0 : 1;
U32 cp = UTF ? utf8_to_uvchr((U8*)RExC_parse, &len) : (U32)((U8*)RExC_parse)[0];
*flagp |= HASWIDTH; /* could be SIMPLE too, but needs a handler in regexec.regrepeat */
RExC_parse+=len;
U8 tmpbuf2[UTF8_MAXBYTES_CASE+1];
STRLEN tmplen2;
to_uni_fold(n, tmpbuf1, &tmplen1);
- to_utf8_fold(locinput, tmpbuf2, &tmplen2);
- if (tmplen1!=tmplen2 || !strnEQ(tmpbuf1,tmpbuf2,tmplen1))
+ to_utf8_fold((U8*)locinput, tmpbuf2, &tmplen2);
+ if (tmplen1!=tmplen2
+ || !strnEQ((char *)tmpbuf1,(char *)tmpbuf2,tmplen1))
sayNO;
else
locinput += UTF8SKIP(locinput);