summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index 5b297e46b6..65419bdfef 100644
--- a/gv.c
+++ b/gv.c
@@ -1869,7 +1869,7 @@ Perl_amagic_call(pTHX_ SV *left, SV *right, int method, int flags)
char *pv = SvPV(lex_mask, len);
/* Bit set, so this overloading operator is disabled */
- if ( (STRLEN)offset <= len && pv[offset] & ( 1 << bit ) )
+ if ( (STRLEN)offset < len && pv[offset] & ( 1 << bit ) )
return NULL;
}
}