projects
/
profile
/
ivi
/
eina.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b7d643
)
Don't limite the range of the hash function. It's the dutty of the caller.
author
cedric
<cedric>
Mon, 15 Sep 2008 12:35:27 +0000
(12:35 +0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 15 Sep 2008 12:35:27 +0000
(12:35 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35998
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/include/eina_inline_hash.x
patch
|
blob
|
history
diff --git
a/src/include/eina_inline_hash.x
b/src/include/eina_inline_hash.x
index
86657ac
..
9fc5493
100644
(file)
--- a/
src/include/eina_inline_hash.x
+++ b/
src/include/eina_inline_hash.x
@@
-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;
}