projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Trying to remove dead branch
[m6w6/libmemcached]
/
libmemcached
/
hsieh_hash.c
diff --git
a/libmemcached/hsieh_hash.c
b/libmemcached/hsieh_hash.c
index 9f42a94d02da91a6e62c2f8be1d1b762c3eb2892..e6c23cd97a64ba6783ff253b735b6ab24b404286 100644
(file)
--- a/
libmemcached/hsieh_hash.c
+++ b/
libmemcached/hsieh_hash.c
@@
-17,7
+17,7
@@
+(uint32_t)(((const uint8_t *)(d))[0]) )
#endif
-uint32_t hsieh_hash(char *key, size_t key_length)
+uint32_t hsieh_hash(c
onst c
har *key, size_t key_length)
{
uint32_t hash = 0, tmp;
int rem;