summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2002-04-21 22:32:29 +0000
committerGurusamy Sarathy <gsar@cpan.org>2002-04-21 22:32:29 +0000
commit91f3b821ca3eaa8b7d74bb338729ba51b7b68a90 (patch)
tree07c31a8443cfe72d822b821516a5f4ef90099af5 /sv.h
parent11ef8fddd64f78304dc923b07dffddd7a4f28074 (diff)
downloadperl-91f3b821ca3eaa8b7d74bb338729ba51b7b68a90.tar.gz
squelch some more type mismatch warnings
SvREFCNT_dec(x ? y : z) did not typecast the right thing due to missing parens in macro definition p4raw-id: //depot/perl@16055
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 92dec20a73..6f95c46a84 100644
--- a/sv.h
+++ b/sv.h
@@ -174,7 +174,7 @@ perform the upgrade if necessary. See C<svtype>.
# endif
#endif
-#define SvREFCNT_dec(sv) sv_free((SV*)sv)
+#define SvREFCNT_dec(sv) sv_free((SV*)(sv))
#define SVTYPEMASK 0xff
#define SvTYPE(sv) ((sv)->sv_flags & SVTYPEMASK)