summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-07-25 16:41:01 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-08-25 12:23:59 -0700
commit193941786d7a034dc215210b09aec6ee9257e10e (patch)
treece751dc1bf2affac60797fea3faf180b7048c01b /regcomp.c
parent99a90e5967b33d68a38c309edf24275f1c8a979f (diff)
downloadperl-193941786d7a034dc215210b09aec6ee9257e10e.tar.gz
Make $' work past the 2**31 threshold
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 125a9a2d14..5a55756867 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -6728,7 +6728,7 @@ Perl_reg_numbered_buff_fetch(pTHX_ REGEXP * const r, const I32 paren,
{
struct regexp *const rx = ReANY(r);
char *s = NULL;
- I32 i = 0;
+ SSize_t i = 0;
SSize_t s1, t1;
I32 n = paren;