summaryrefslogtreecommitdiff
path: root/cv.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-08-06 14:03:31 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-08-06 14:04:04 -0700
commit1bd358614578efacd579635d85759fe8a501763e (patch)
treefcd1b04198d851314707fc3e89175cf4c0114f27 /cv.h
parent64a408986cf3da7615062d0778e28cfa24288618 (diff)
downloadperl-1bd358614578efacd579635d85759fe8a501763e.tar.gz
cv.h: macro parentheses
I forgot about -- having higher precedence than unary *. And then I forgot to test it, convincing myself I had. :-(
Diffstat (limited to 'cv.h')
-rw-r--r--cv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cv.h b/cv.h
index a94d2481bd..e8cb162272 100644
--- a/cv.h
+++ b/cv.h
@@ -75,7 +75,7 @@ S_CvDEPTHp(const CV * const sv)
S_CvDEPTHp(_cvdepth); \
}))
#else
-# define CvDEPTH(sv) *S_CvDEPTHp((const CV *)sv)
+# define CvDEPTH(sv) (*S_CvDEPTHp((const CV *)sv))
#endif
#define CvPADLIST(sv) ((XPVCV*)MUTABLE_PTR(SvANY(sv)))->xcv_padlist
#define CvOUTSIDE(sv) ((XPVCV*)MUTABLE_PTR(SvANY(sv)))->xcv_outside