summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-04-28 16:38:51 +0000
committerSteve Hay <SteveHay@planit.com>2005-04-28 16:38:51 +0000
commit991350d8061a83adab2e55857bf15c14ff5b9c31 (patch)
tree8554724cf04e68411f05a41080e24608ba08ae59 /pp.c
parent8bd4d4c5ee440ccae167e2a7f5bf6f74ff02916b (diff)
downloadperl-991350d8061a83adab2e55857bf15c14ff5b9c31.tar.gz
Silence a compilation warning on Win32
p4raw-id: //depot/perl@24349
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 4500c575de..d107ab5e2d 100644
--- a/pp.c
+++ b/pp.c
@@ -1486,7 +1486,7 @@ PP(pp_repeat)
if (count < 1)
SvCUR_set(TARG, 0);
else {
- IV max = count * len;
+ STRLEN max = (UV)count * len;
if (len > ((MEM_SIZE)~0)/count)
Perl_croak(aTHX_ oom_string_extend);
MEM_WRAP_CHECK_1(max, char, oom_string_extend);