summaryrefslogtreecommitdiff
path: root/pp.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-03-29 14:50:45 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-05-21 10:49:03 -0700
commit4e794a06541f155fd9807caed6e516ff47cfe649 (patch)
tree8fcfd3b9380c82c22eb9a376f061495380649fdc /pp.h
parentd2c4d2d1e22d31255e4879b333999b8d409086a2 (diff)
downloadperl-4e794a06541f155fd9807caed6e516ff47cfe649.tar.gz
pp.h: Missing macro parentheses
This wasn’t affecting anything, but was a bug waiting to happen.
Diffstat (limited to 'pp.h')
-rw-r--r--pp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.h b/pp.h
index 63b22340f9..22621c14c9 100644
--- a/pp.h
+++ b/pp.h
@@ -497,7 +497,7 @@ True if this op will be the return value of an lvalue subroutine
( \
(void)(phlags & SV_GMAGIC && (SvGETMAGIC(sv),0)), \
isGV_with_GP(sv) \
- ? (GV *)sv \
+ ? (GV *)(sv) \
: SvROK(sv) && SvTYPE(SvRV(sv)) <= SVt_PVLV && \
(SvGETMAGIC(SvRV(sv)), isGV_with_GP(SvRV(sv))) \
? (GV *)SvRV(sv) \