In perl.git, the branch smoke-me/hv_h_split has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/d7e1c8fd36d6cce8df4a80ea35067b667e8cc546?hp=cd515ced0717dcbf39aa3470b52d1d5b8095a435>

- Log -----------------------------------------------------------------
commit d7e1c8fd36d6cce8df4a80ea35067b667e8cc546
Author: Yves Orton <[email protected]>
Date:   Tue Dec 11 20:46:53 2012 +0100

    silence a clang/asan warning by casting.
    
    This code is used to detect "wild" pointers, by detecting
    the signature that our memory poisoining uses in debug mode,
    therefore the normal rules applying to SvTYPE() may be ignored.
-----------------------------------------------------------------------

Summary of changes:
 dump.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dump.c b/dump.c
index 9d5811c..2fbf345 100644
--- a/dump.c
+++ b/dump.c
@@ -456,7 +456,7 @@ Perl_sv_peek(pTHX_ SV *sv)
        sv_catpv(t, "VOID");
        goto finish;
     }
-    else if (sv == (const SV *)0x55555555 || SvTYPE(sv) == 'U') {
+    else if (sv == (const SV *)0x55555555 || ((char)SvTYPE(sv)) == 'U') {
        sv_catpv(t, "WILD");
        goto finish;
     }

--
Perl5 Master Repository

Reply via email to