summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-03 13:41:38 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-03 13:41:38 +0000
commit664232547b20ac25929b13c5d424129717d19e08 (patch)
tree6edf6b3deba0f1e48049454a94d9758af5ab81d2 /regexec.c
parent2f7e735dd0890ae53fd3026b18bc0ccf6639bac6 (diff)
downloadperl-664232547b20ac25929b13c5d424129717d19e08.tar.gz
Cast.
p4raw-id: //depot/perl@14037
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/regexec.c b/regexec.c
index 75ea1521e8..fe9ad4baca 100644
--- a/regexec.c
+++ b/regexec.c
@@ -986,8 +986,8 @@ S_find_byclass(pTHX_ regexp * prog, regnode *c, char *s, char *strend, char *sta
c = utf8_to_uvchr((U8*)s, &len);
if ( c == c1
&& (ln == len ||
- ibcmp_utf8(s, 0 , 0, do_utf8,
- m, 0 , ln, UTF))
+ ibcmp_utf8(s, (char **)0, 0, do_utf8,
+ m, (char **)0, ln, UTF))
&& (norun || regtry(prog, s)) )
goto got_it;
else {
@@ -996,10 +996,10 @@ S_find_byclass(pTHX_ regexp * prog, regnode *c, char *s, char *strend, char *sta
if ( f != c
&& (f == c1 || f == c2)
&& (ln == foldlen ||
- !ibcmp_utf8((char *)foldbuf,
- 0, foldlen, do_utf8,
+ !ibcmp_utf8((char *) foldbuf,
+ (char **)0, foldlen, do_utf8,
m,
- 0, ln, UTF))
+ (char **)0, ln, UTF))
&& (norun || regtry(prog, s)) )
goto got_it;
}
@@ -1023,8 +1023,8 @@ S_find_byclass(pTHX_ regexp * prog, regnode *c, char *s, char *strend, char *sta
if ( (c == c1 || c == c2)
&& (ln == len ||
- ibcmp_utf8(s, 0, 0, do_utf8,
- m, 0, ln, UTF))
+ ibcmp_utf8(s, (char **)0, 0, do_utf8,
+ m, (char **)0, ln, UTF))
&& (norun || regtry(prog, s)) )
goto got_it;
else {
@@ -1034,9 +1034,9 @@ S_find_byclass(pTHX_ regexp * prog, regnode *c, char *s, char *strend, char *sta
&& (f == c1 || f == c2)
&& (ln == foldlen ||
!ibcmp_utf8((char *)foldbuf,
- 0, foldlen, do_utf8,
+ (char **)0, foldlen, do_utf8,
m,
- 0, ln, UTF))
+ (char **)0, ln, UTF))
&& (norun || regtry(prog, s)) )
goto got_it;
}