diff options
author | Jerry D. Hedden <jdhedden@cpan.org> | 2010-12-01 10:32:34 -0500 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-12-01 08:24:28 -0800 |
commit | 2e709962b9fd16ea18c9b31b128cde0247b7ceb7 (patch) | |
tree | 81dd37d43338c7393663343de3e0571fcca59fb4 /hv.c | |
parent | 4c916935c1a92a1e788b3be03e59191658b33154 (diff) | |
download | perl-2e709962b9fd16ea18c9b31b128cde0247b7ceb7.tar.gz |
Fix compiler warning in hv.c on MSWin32
Fixes the following seen in a Steve Hay smoke test:
Compiler messages(MSWin32):
..\hv.c(1646) : warning C4244: 'initializing' : conversion from 'unsigned long ' to 'const char ', possible loss of data
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1643,7 +1643,7 @@ S_hfreeentries(pTHX_ HV *hv) /* This is the array that we're going to restore */ HE **const orig_array = HvARRAY(hv); HE **tmp_array = NULL; - const bool has_aux = SvOOK(hv); + const bool has_aux = (SvOOK(hv) == SVf_OOK); struct xpvhv_aux * current_aux = NULL; int attempts = 100; |