From 237d50cc8a630bb0d01ee36bfc165269da17a102 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Tue, 29 Sep 2009 20:51:54 -0700 Subject: [PATCH] Fix length mismatch --- libmemcached/crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) -- 2.30.2