summaryrefslogtreecommitdiff
path: root/ext/arybase
diff options
context:
space:
mode:
Diffstat (limited to 'ext/arybase')
-rw-r--r--ext/arybase/arybase.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/arybase/arybase.xs b/ext/arybase/arybase.xs
index bcc902ab89..af8ef7b1ad 100644
--- a/ext/arybase/arybase.xs
+++ b/ext/arybase/arybase.xs
@@ -250,7 +250,7 @@ static OP *ab_pp_basearg(pTHX) {
case OP_LSLICE:
firstp = PL_stack_base + *(PL_markstack_ptr-1)+1;
count = TOPMARK - *(PL_markstack_ptr-1);
- if (GIMME != G_ARRAY) {
+ if (GIMME_V != G_ARRAY) {
firstp += count-1;
count = 1;
}