diff options
author | David Mitchell <davem@iabyn.com> | 2010-06-05 13:44:04 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-06-05 13:44:04 +0100 |
commit | 5ac3629776cb773f868455ce02860eafa022c003 (patch) | |
tree | 74fa3fc1b053d891fd21d21f4438189332ca2515 /hv.c | |
parent | 4a75fa1ae0acfb6204ce925df66ec1e7f85767ce (diff) | |
download | perl-5ac3629776cb773f868455ce02860eafa022c003.tar.gz |
silence some warnings in hv.c
Since de0a224a057997a65d38856f1981702fca5d7c18, xhv_keys and xhv_max
are the same type, so no casting needed
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -817,7 +817,7 @@ Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen, xhv->xhv_keys++; /* HvTOTALKEYS(hv)++ */ if (!counter) { /* initial entry? */ - } else if (xhv->xhv_keys > (IV)xhv->xhv_max) { + } else if (xhv->xhv_keys > xhv->xhv_max) { hsplit(hv); } else if(!HvREHASH(hv)) { U32 n_links = 1; @@ -2561,7 +2561,7 @@ S_share_hek_flags(pTHX_ const char *str, I32 len, register U32 hash, int flags) xhv->xhv_keys++; /* HvTOTALKEYS(hv)++ */ if (!next) { /* initial entry? */ - } else if (xhv->xhv_keys > (IV)xhv->xhv_max /* HvKEYS(hv) > HvMAX(hv) */) { + } else if (xhv->xhv_keys > xhv->xhv_max /* HvKEYS(hv) > HvMAX(hv) */) { hsplit(PL_strtab); } } |