In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/2e709962b9fd16ea18c9b31b128cde0247b7ceb7?hp=4c916935c1a92a1e788b3be03e59191658b33154>
- Log ----------------------------------------------------------------- commit 2e709962b9fd16ea18c9b31b128cde0247b7ceb7 Author: Jerry D. Hedden <[email protected]> Date: Wed Dec 1 10:32:34 2010 -0500 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 ----------------------------------------------------------------------- Summary of changes: hv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hv.c b/hv.c index d0f452e..d5e7a21 100644 --- a/hv.c +++ b/hv.c @@ -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; -- Perl5 Master Repository
