~brianaker/libmemcached/embedded

« back to all changes in this revision

Viewing changes to libmemcached/crc.c

  • Committer: Brian Aker
  • Date: 2009-09-30 03:51:54 UTC
  • Revision ID: brian@gaz-20090930035154-2mrhs9pk3euld3zk
Fix length mismatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
 
77
77
uint32_t hash_crc32(const char *key, size_t key_length)
78
78
{
79
 
  uint32_t x;
 
79
  uint64_t x;
80
80
  uint32_t crc= UINT32_MAX;
81
81
 
82
82
  for (x= 0; x < key_length; x++)