Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        ecore_hash.c 


Log Message:


turran's dfb stuff! whee! :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_hash.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ecore_hash.c        30 Sep 2005 06:09:36 -0000      1.17
+++ ecore_hash.c        15 Oct 2005 10:37:37 -0000      1.18
@@ -316,7 +316,7 @@
 _ecore_hash_add_node(Ecore_Hash *hash, Ecore_Hash_Node *node)
 {
        unsigned int hash_val;
-
+               
        CHECK_PARAM_POINTER_RETURN("hash", hash, FALSE);
        CHECK_PARAM_POINTER_RETURN("node", node, FALSE);
 
@@ -326,8 +326,7 @@
 
        /* Compute the position in the table */
        if (!hash->hash_func)
-               hash_val = (unsigned int)node->key %
-                       ecore_prime_table[hash->size];
+               hash_val = (unsigned int)node->key % 
ecore_prime_table[hash->size];
        else
                hash_val = ECORE_COMPUTE_HASH(hash, node->key);
 
@@ -392,7 +391,7 @@
 
        /* Compute the position in the table */
        if (!hash->hash_func)
-               hash_val = (unsigned int)key % ecore_prime_table[hash->size];
+               hash_val = (unsigned int )key % ecore_prime_table[hash->size];
        else
                hash_val = ECORE_COMPUTE_HASH(hash, key);
 
@@ -453,7 +452,7 @@
 
        /* Compute the position in the table */
        if (!hash->hash_func)
-               hash_val = (unsigned int)key % ecore_prime_table[hash->size];
+               hash_val = (unsigned int )key % ecore_prime_table[hash->size];
        else
                hash_val = ECORE_COMPUTE_HASH(hash, key);
 




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to