diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2002-04-21 22:32:29 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2002-04-21 22:32:29 +0000 |
commit | 91f3b821ca3eaa8b7d74bb338729ba51b7b68a90 (patch) | |
tree | 07c31a8443cfe72d822b821516a5f4ef90099af5 /sv.h | |
parent | 11ef8fddd64f78304dc923b07dffddd7a4f28074 (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |