From 9979edd82a43c01c4de3c3f1dc175de28100e4d1 Mon Sep 17 00:00:00 2001 From: Cedric BAIL 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. SVN revision: 35998 --- legacy/eina/src/include/eina_inline_hash.x | 1 - 1 file changed, 1 deletion(-) diff --git a/legacy/eina/src/include/eina_inline_hash.x b/legacy/eina/src/include/eina_inline_hash.x index 86657acd48..9fc549367d 100644 --- a/legacy/eina/src/include/eina_inline_hash.x +++ b/legacy/eina/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; }