From: Nicholas Clark Date: Sat, 5 Jan 2008 22:55:02 +0000 (+0000) Subject: Fix a compilation warning created when RX_PRELEN() was changed to X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a11c868346835d29a8dbd849a05670423faaf9e2;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/pp_ctl.c b/pp_ctl.c index 11bbdc5..8998c1f 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;