summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-02 23:56:00 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-02 23:56:00 +0000
commit7114a2d26db82c459c722352adf0625e3ae9f42d (patch)
treec1926762f5ff91cd87c4dc39b6b727bf215d88ab /regexec.c
parentd02ee443a95f37e809897c7b362de209cac4b522 (diff)
downloadperl-7114a2d26db82c459c722352adf0625e3ae9f42d.tar.gz
microperl sync.
p4raw-id: //depot/perl@12826
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index a7a9a675e0..67e901545d 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2254,7 +2254,7 @@ S_regmatch(pTHX_ regnode *prog)
if (l >= PL_regeol)
sayNO;
toLOWER_utf8((U8*)l, tmpbuf, &ulen);
- if (memNE(s, tmpbuf, ulen))
+ if (memNE(s, (char*)tmpbuf, ulen))
sayNO;
s += UTF8SKIP(s);
l += ulen;
@@ -2528,7 +2528,7 @@ S_regmatch(pTHX_ regnode *prog)
sayNO;
toLOWER_utf8((U8*)s, tmpbuf1, &ulen1);
toLOWER_utf8((U8*)l, tmpbuf2, &ulen2);
- if (ulen1 != ulen2 || memNE(tmpbuf1, tmpbuf2, ulen1))
+ if (ulen1 != ulen2 || memNE((char *)tmpbuf1, (char *)tmpbuf2, ulen1))
sayNO;
s += ulen1;
l += ulen2;