diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-05 22:55:02 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-05 22:55:02 +0000 |
commit | a11c868346835d29a8dbd849a05670423faaf9e2 (patch) | |
tree | 870000210d0da0b761ab1b07ba0c92d48c53a485 /pp_ctl.c | |
parent | d2f13c598f9812cd520097e22d819d1b9f7b0cb6 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |