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

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

- Log -----------------------------------------------------------------
commit cd515ced0717dcbf39aa3470b52d1d5b8095a435
Author: Yves Orton <[email protected]>
Date:   Tue Dec 11 08:50:58 2012 +0100

    Attempt to eliminate a signed mistmatch in comparison warning
    
    as far as I can tell 'i' can only be positive here.
-----------------------------------------------------------------------

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

diff --git a/hv_func.h b/hv_func.h
index acd2709..8a3436c 100644
--- a/hv_func.h
+++ b/hv_func.h
@@ -391,7 +391,7 @@ S_perl_hash_murmur3(const unsigned char * const seed, const 
unsigned char *ptr,
 
     /* Consume enough so that the next data byte is word aligned */
     int i = -(long)ptr & 3;
-    if(i && i <= len) {
+    if(i && (STRLEN)i <= len) {
       MURMUR_DOBYTES(i, h1, carry, bytes_in_carry, ptr, len);
     }
 

--
Perl5 Master Repository

Reply via email to