This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Extraneous warning for (?()A|B)
[perl5.git] / hv.h
diff --git a/hv.h b/hv.h
index 19694ac..466f33d 100644 (file)
--- a/hv.h
+++ b/hv.h
@@ -45,7 +45,7 @@ struct xpvhv {
        register U32 hash_PeRlHaSh = 0; \
        while (i_PeRlHaSh--) \
            hash_PeRlHaSh = hash_PeRlHaSh * 33 + *s_PeRlHaSh++; \
-       (hash) = hash_PeRlHaSh; \
+       (hash) = hash_PeRlHaSh + (hash_PeRlHaSh>>5); \
     } STMT_END