Fix a compilation warning created when RX_PRELEN() was changed to
authorNicholas Clark <nick@ccl4.org>
Sat, 5 Jan 2008 22:55:02 +0000 (22:55 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 5 Jan 2008 22:55:02 +0000 (22:55 +0000)
SvCUR(), which is an unsigned value.
[Mmm, how many remaining parts of the regexp struct should be
unsigned]

p4raw-id: //depot/perl@32862

pp_ctl.c

index 11bbdc5..8998c1f 100644 (file)
--- 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;