summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-04-27 22:08:08 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-27 22:08:08 +0000
commit8a31060d0e98afa6004d194f5c17a527289cb541 (patch)
tree0fbe01890d065c67d7aaed9586bf331475bc21c7 /sv.c
parente2509266c9847076dfc3d18ac8fca1d162b06701 (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 5da249fb1a..f3940d92f6 100644
--- a/sv.c
+++ b/sv.c
@@ -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)) {