From 0da9b2ea33360730896220c846f97fdee67eac59 Mon Sep 17 00:00:00 2001 From: cedric Date: Mon, 15 Sep 2008 12:35:27 +0000 Subject: [PATCH] Don't limite the range of the hash function. It's the dutty of the caller. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35998 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/include/eina_inline_hash.x | 1 - 1 file changed, 1 deletion(-) diff --git a/src/include/eina_inline_hash.x b/src/include/eina_inline_hash.x index 86657ac..9fc5493 100644 --- 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; } -- 2.7.4