From: Brian Aker Date: Thu, 30 Jul 2009 06:04:28 +0000 (-0700) Subject: Merge Monty X-Git-Tag: 0.32~7 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=acce29c292b435fef4fd486495dca7d653be2bf2;p=awesomized%2Flibmemcached Merge Monty --- acce29c292b435fef4fd486495dca7d653be2bf2 diff --cc libmemcached/memcached_hash.c index e3249c06,5abc1e07..4956d18e --- a/libmemcached/memcached_hash.c +++ b/libmemcached/memcached_hash.c @@@ -205,7 -205,7 +205,7 @@@ static uint32_t internal_generate_hash( while (key_length--) { - value += *ptr++; - value += (int32_t) *ptr++; ++ value += (uint32_t) *ptr++; value += (value << 10); value ^= (value >> 6); }