projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Updated for custom hash functions/setting functions.
[awesomized/libmemcached]
/
libmemcached
/
crc.c
diff --git
a/libmemcached/crc.c
b/libmemcached/crc.c
index 034ccf1b035e35e9f8064ff6e5a5c6197b055a4b..90d3041c3fa3d7d606efb54b285929c8adaed5e8 100644
(file)
--- a/
libmemcached/crc.c
+++ b/
libmemcached/crc.c
@@
-76,7
+76,7
@@
static const uint32_t crc32tab[256] = {
uint32_t hash_crc32(const char *key, size_t key_length)
{
uint32_t hash_crc32(const char *key, size_t key_length)
{
- uint
32
_t x;
+ uint
64
_t x;
uint32_t crc= UINT32_MAX;
for (x= 0; x < key_length; x++)
uint32_t crc= UINT32_MAX;
for (x= 0; x < key_length; x++)