diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2006-11-25 06:45:24 -0500 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-11-25 17:34:09 +0000 |
commit | 70685ca0840f6815bbaa22840c8fc8d5f39582b5 (patch) | |
tree | 5b50aca1ce7497ea646492c728e7d9f650a6f87d /pp_hot.c | |
parent | def4ed7dae237ef44df68de123257af258278ceb (diff) | |
download | perl-70685ca0840f6815bbaa22840c8fc8d5f39582b5.tar.gz |
smoke signs suppression
Message-ID: <45687324.3040102@iki.fi>
p4raw-id: //depot/perl@29378
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1397,7 +1397,7 @@ play_it_again: && !SvROK(TARG)) /* Cannot trust since INTUIT cannot guess ^ */ goto yup; } - if (CALLREGEXEC(rx, (char*)s, (char *)strend, (char*)truebase, minmatch, TARG, (void*)gpos, r_flags)) + if (CALLREGEXEC(rx, (char*)s, (char *)strend, (char*)truebase, minmatch, TARG, INT2PTR(void*, gpos), r_flags)) { PL_curpm = pm; if (dynpm->op_pmflags & PMf_ONCE) @@ -1447,14 +1447,14 @@ play_it_again: } if (rx->startp[0] != -1) { mg->mg_len = rx->endp[0]; - if (rx->startp[0] + rx->gofs == rx->endp[0]) + if (rx->startp[0] + rx->gofs == (UV)rx->endp[0]) mg->mg_flags |= MGf_MINMATCH; else mg->mg_flags &= ~MGf_MINMATCH; } } had_zerolen = (rx->startp[0] != -1 - && rx->startp[0] + rx->gofs == rx->endp[0]); + && rx->startp[0] + rx->gofs == (UV)rx->endp[0]); PUTBACK; /* EVAL blocks may use stack */ r_flags |= REXEC_IGNOREPOS | REXEC_NOT_FIRST; goto play_it_again; @@ -1481,7 +1481,7 @@ play_it_again: } if (rx->startp[0] != -1) { mg->mg_len = rx->endp[0]; - if (rx->startp[0] + rx->gofs == rx->endp[0]) + if (rx->startp[0] + rx->gofs == (UV)rx->endp[0]) mg->mg_flags |= MGf_MINMATCH; else mg->mg_flags &= ~MGf_MINMATCH; |