forked from enlightenment/efl
Don't limite the range of the hash function. It's the dutty of the caller.
SVN revision: 35998
This commit is contained in:
parent
ab37298c12
commit
9979edd82a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue