Don't limite the range of the hash function. It's the dutty of the caller.

SVN revision: 35998
This commit is contained in:
Cedric BAIL 2008-09-15 12:35:27 +00:00
parent ab37298c12
commit 9979edd82a
1 changed files with 0 additions and 1 deletions

View File

@ -34,7 +34,6 @@ eina_hash_djb2(const char *key, int len)
for (ptr = (unsigned char *)key; len; ptr++, len--)
hash_num = ((hash_num << 5) + hash_num) ^ *ptr; /* hash * 33 ^ c */
hash_num &= 0xff;
return (int)hash_num;
}