summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-10-16 01:22:46 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-16 01:22:46 +0000
commit467f0320ba38aa93b099784d0a7bcd097f0d642c (patch)
treeb0ff6b14d52af1501d0a2d829a166976e0de2f55 /pp_hot.c
parent1d68d6cd5ca16f48de9798b0758052a6de564551 (diff)
downloadperl-467f0320ba38aa93b099784d0a7bcd097f0d642c.tar.gz
Fix few quad issues, which for example broke chr(~chr(~0)) for UTF8.
p4raw-id: //depot/perl@7236
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 4ddb12ce69..dc5e3b6f16 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2780,7 +2780,7 @@ PP(pp_aelem)
{
djSP;
SV** svp;
- I32 elem = POPi;
+ IV elem = POPi;
AV* av = (AV*)POPs;
U32 lval = PL_op->op_flags & OPf_MOD;
U32 defer = (PL_op->op_private & OPpLVAL_DEFER) && (elem > AvFILL(av));