I32 may not be big enough for string insert length
authorChip Salzenberg <chip@pobox.com>
Tue, 11 Oct 2011 01:57:56 +0000 (18:57 -0700)
committerChip Salzenberg <chip@pobox.com>
Tue, 11 Oct 2011 02:00:05 +0000 (19:00 -0700)
sv.c

diff --git a/sv.c b/sv.c
index 8368ebf..275118f 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -5743,7 +5743,7 @@ Perl_sv_insert_flags(pTHX_ SV *const bigstr, const STRLEN offset, const STRLEN l
     register char *mid;
     register char *midend;
     register char *bigend;
-    register I32 i;
+    register IV i;
     STRLEN curlen;
 
     PERL_ARGS_ASSERT_SV_INSERT_FLAGS;