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 /ext/Data | |
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 'ext/Data')
-rw-r--r-- | ext/Data/Dumper/Dumper.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Data/Dumper/Dumper.xs b/ext/Data/Dumper/Dumper.xs index 62f3099d8a..19037a839e 100644 --- a/ext/Data/Dumper/Dumper.xs +++ b/ext/Data/Dumper/Dumper.xs @@ -580,7 +580,7 @@ DD_dump(pTHX_ SV *val, char *name, STRLEN namelen, SV *retval, HV *seenhv, STRLEN keylen; bool do_utf8 = FALSE; - if ((sortkeys && !(keys && i <= av_len(keys))) || + if ((sortkeys && !(keys && (I32)i <= av_len(keys))) || !(entry = hv_iternext((HV *)ival))) break; |