summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2006-06-11 17:44:34 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-06-12 10:07:18 +0000
commit42d0e0b77a1ef47b81ab3e346a1a4dc0af5b9bec (patch)
tree7011adacbdf7230ca54109588b961d605d72fae6 /sv.h
parentbe8e71aa96b3d344129617fadcaca7d958882caa (diff)
downloadperl-42d0e0b77a1ef47b81ab3e346a1a4dc0af5b9bec.tar.gz
Proper use of enums
Message-ID: <20060612034434.GA21588@petdance.com> p4raw-id: //depot/perl@28381
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 75c45bf16e..ab09bba306 100644
--- a/sv.h
+++ b/sv.h
@@ -266,7 +266,7 @@ perform the upgrade if necessary. See C<svtype>.
#endif
#define SVTYPEMASK 0xff
-#define SvTYPE(sv) ((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