From: Brian Aker Date: Wed, 30 Sep 2009 03:51:54 +0000 (-0700) Subject: Fix length mismatch X-Git-Tag: 0.34~19 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=237d50cc8a630bb0d01ee36bfc165269da17a102;p=awesomized%2Flibmemcached Fix length mismatch --- diff --git a/libmemcached/crc.c b/libmemcached/crc.c index 034ccf1b..90d3041c 100644 --- 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 x; + uint64_t x; uint32_t crc= UINT32_MAX; for (x= 0; x < key_length; x++)