summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-05 22:55:02 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-05 22:55:02 +0000
commita11c868346835d29a8dbd849a05670423faaf9e2 (patch)
tree870000210d0da0b761ab1b07ba0c92d48c53a485 /pp_ctl.c
parentd2f13c598f9812cd520097e22d819d1b9f7b0cb6 (diff)
downloadperl-a11c868346835d29a8dbd849a05670423faaf9e2.tar.gz
Fix a compilation warning created when RX_PRELEN() was changed to
SvCUR(), which is an unsigned value. [Mmm, how many remaining parts of the regexp struct should be unsigned] p4raw-id: //depot/perl@32862
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 11bbdc561a..8998c1f112 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -130,7 +130,7 @@ PP(pp_regcomp)
re = PM_GETRE(pm);
/* Check against the last compiled regexp. */
- if (!re || !RX_PRECOMP(re) || RX_PRELEN(re) != (I32)len ||
+ if (!re || !RX_PRECOMP(re) || RX_PRELEN(re) != len ||
memNE(RX_PRECOMP(re), t, len))
{
const regexp_engine *eng = re ? RX_ENGINE(re) : NULL;