From adad97db02f9834fe787095ccf3593bf7f8d666c Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sun, 8 Sep 2013 16:11:29 -0700 Subject: [PATCH] pp.c: Allow 64-bit stack offsets in kv[ah]slice --- pp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pp.c b/pp.c index a30ac83..486146d 100644 --- a/pp.c +++ b/pp.c @@ -4355,7 +4355,7 @@ PP(pp_kvaslice) dVAR; dSP; dMARK; AV *const av = MUTABLE_AV(POPs); I32 lval = (PL_op->op_flags & OPf_MOD); - I32 items = SP - MARK; + SSize_t items = SP - MARK; if (PL_op->op_private & OPpMAYBE_LVSUB) { const I32 flags = is_lvalue_sub(); @@ -4803,7 +4803,7 @@ PP(pp_kvhslice) dVAR; dSP; dMARK; HV * const hv = MUTABLE_HV(POPs); I32 lval = (PL_op->op_flags & OPf_MOD); - I32 items = SP - MARK; + SSize_t items = SP - MARK; if (PL_op->op_private & OPpMAYBE_LVSUB) { const I32 flags = is_lvalue_sub(); -- 2.7.4