projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
combined
(merge:
614357b
49e9e4b
)
Merge Monty
author
Brian Aker
<brian@gaz>
Thu, 30 Jul 2009 06:04:28 +0000
(23:04 -0700)
committer
Brian Aker
<brian@gaz>
Thu, 30 Jul 2009 06:04:28 +0000
(23:04 -0700)
1
2
libmemcached/memcached_hash.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
libmemcached/memcached_hash.c
index e3249c0624774f0d2b343a27e719153e36dd0a45,5abc1e0761731627bcc49b1caaf1401f7f32e18b..4956d18e0655e784bbb4e7a4b3c0200d4552bb77
---
1
/
libmemcached/memcached_hash.c
---
2
/
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);
}