projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
a9df0ff
)
Fix length mismatch
author
Brian Aker
<brian@gaz>
Wed, 30 Sep 2009 03:51:54 +0000
(20:51 -0700)
committer
Brian Aker
<brian@gaz>
Wed, 30 Sep 2009 03:51:54 +0000
(20:51 -0700)
libmemcached/crc.c
patch
|
blob
|
history
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)
{
- uint
32
_t x;
+ uint
64
_t x;
uint32_t crc= UINT32_MAX;
for (x= 0; x < key_length; x++)