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 | e381aa64c32d100dafc02519b784b1dcbb154ed3 (patch) | |
tree | 0fbe01890d065c67d7aaed9586bf331475bc21c7 /hv.c | |
parent | 411ec54cd48e42bd90056fe31f822e451d1bee94 (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) { |