Craig A. Berry [Thu, 31 Mar 2005 14:51:05 +0000 (08:51 -0600)]
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
424C62B9.2030601@mac.com>
p4raw-id: //depot/perl@24126
from = group ? strbeg + group->strbeg : strbeg;
}
sv = from <= s ?
- newSVuv( u8 ? (UV) utf8_length(from, s) : (UV) (s-from)) :
- newSViv(-(u8 ? (IV) utf8_length(s, from) : (IV) (from-s)));
+ newSVuv( u8 ? (UV) utf8_length((const U8*)from, (const U8*)s) : (UV) (s-from)) :
+ newSViv(-(u8 ? (IV) utf8_length((const U8*)s, (const U8*)from) : (IV) (from-s)));
XPUSHs(sv_2mortal(sv));
break;
}