summaryrefslogtreecommitdiff
path: root/hv.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
commite381aa64c32d100dafc02519b784b1dcbb154ed3 (patch)
tree0fbe01890d065c67d7aaed9586bf331475bc21c7 /hv.c
parent411ec54cd48e42bd90056fe31f822e451d1bee94 (diff)
downloadperl-e381aa64c32d100dafc02519b784b1dcbb154ed3.tar.gz
More VC5-induced casting found by Nikola Knezevic.
p4raw-id: //depot/perl@16232
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hv.c b/hv.c
index 22b8cf26d5..919a5d5479 100644
--- a/hv.c
+++ b/hv.c
@@ -1158,7 +1158,7 @@ Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
sv = sv_newmortal();
mg_copy((SV*)hv, sv, key, klen);
magic_existspack(sv, mg_find(sv, PERL_MAGIC_tiedelem));
- return SvTRUE(sv);
+ return (bool)SvTRUE(sv);
}
#ifdef ENV_IS_CASELESS
else if (mg_find((SV*)hv, PERL_MAGIC_env)) {
@@ -1262,7 +1262,7 @@ Perl_hv_exists_ent(pTHX_ HV *hv, SV *keysv, U32 hash)
keysv = sv_2mortal(newSVsv(keysv));
mg_copy((SV*)hv, sv, (char*)keysv, HEf_SVKEY);
magic_existspack(svret, mg_find(sv, PERL_MAGIC_tiedelem));
- return SvTRUE(svret);
+ return (bool)SvTRUE(svret);
}
#ifdef ENV_IS_CASELESS
else if (mg_find((SV*)hv, PERL_MAGIC_env)) {