diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-27 22:08:08 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-27 22:08:08 +0000 |
commit | 8a31060d0e98afa6004d194f5c17a527289cb541 (patch) | |
tree | 0fbe01890d065c67d7aaed9586bf331475bc21c7 /sv.c | |
parent | e2509266c9847076dfc3d18ac8fca1d162b06701 (diff) | |
download | perl-8a31060d0e98afa6004d194f5c17a527289cb541.tar.gz |
More VC5-induced casting found by Nikola Knezevic.
p4raw-id: //depot/perl@16232
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3318,7 +3318,7 @@ Perl_sv_2bool(pTHX_ register SV *sv) SV* tmpsv; if (SvAMAGIC(sv) && (tmpsv=AMG_CALLun(sv,bool_)) && (!SvROK(tmpsv) || (SvRV(tmpsv) != SvRV(sv)))) - return SvTRUE(tmpsv); + return (bool)SvTRUE(tmpsv); return SvRV(sv) != 0; } if (SvPOKp(sv)) { |