diff options
author | Yves Orton <demerphq@gmail.com> | 2012-12-11 08:50:58 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2013-03-19 00:23:11 +0100 |
commit | 22e6de6077442b49596b1a81bf69cf78b83b31c6 (patch) | |
tree | 45046616ead2a1f715261aec56e0cadaeb4f754e /hv_func.h | |
parent | b1300a738fa7f7665aa35a1f9347cf71c52a5b6e (diff) | |
download | perl-22e6de6077442b49596b1a81bf69cf78b83b31c6.tar.gz |
silence signed mistmatch in comparison warning in Murmurhash
as far as I can tell 'i' can only be positive here.
Diffstat (limited to 'hv_func.h')
-rw-r--r-- | hv_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -381,7 +381,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); } |