summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-02-07 09:04:56 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-02-07 09:04:56 +0000
commit1fef4616ad97a72dc45194bd8ac11e63e518aba2 (patch)
treeef97e091b57ae15a974e60f496f01741968bd965 /sv.h
parent5cbb7319c02768b8f1a4ff061db4d0296d58bf4d (diff)
downloadperl-1fef4616ad97a72dc45194bd8ac11e63e518aba2.tar.gz
Wrap the SvTYPE macro definition in parens.
p4raw-id: //depot/perl@30153
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index d3f69c0416..ba873ea5ee 100644
--- a/sv.h
+++ b/sv.h
@@ -274,7 +274,7 @@ perform the upgrade if necessary. See C<svtype>.
#endif
#define SVTYPEMASK 0xff
-#define SvTYPE(sv) (svtype)((sv)->sv_flags & SVTYPEMASK)
+#define SvTYPE(sv) ((svtype)((sv)->sv_flags & SVTYPEMASK))
/* Sadly there are some parts of the core that have pointers to already-freed
SV heads, and rely on being able to tell that they are now free. So mark