X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fcrc.c;h=90d3041c3fa3d7d606efb54b285929c8adaed5e8;hb=a7a011c2ea4a63368b3a96a332da00820ed402cb;hp=034ccf1b035e35e9f8064ff6e5a5c6197b055a4b;hpb=2331ff15285c8071d52fe6dc64aed1680f8ffe74;p=m6w6%2Flibmemcached 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++)