summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-09-10 11:54:25 +0000
committerArtur Bergman <sky@nanisky.com>2001-09-10 11:54:25 +0000
commitcbfa9890bcdf8102686f127e6107a72e887a941e (patch)
treeebe77434b703bccc649fa0237dc967b71be23c61 /sv.c
parente830ead6522d515d0446426f6fbd3f73a7e49697 (diff)
downloadperl-cbfa9890bcdf8102686f127e6107a72e887a941e.tar.gz
Silence some more warnings INT2PTR.
p4raw-id: //depot/perl@11972
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index c0d77b2641..dcca51cea5 100644
--- a/sv.c
+++ b/sv.c
@@ -9799,8 +9799,8 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
for(i = 0; i <= len; i++) {
av_push(PL_regex_padav,
SvREFCNT_inc(
- newSViv((IV)re_dup((REGEXP *)
- SvIVX(regexen[i]), param))
+ newSViv(PTR2IV(re_dup(INT2PTR(REGEXP *,
+ SvIVX(regexen[i])), param)))
));
}
}