batman-adv: fixed hash functions type to uint32_t instead of int
[deliverable/linux.git] / net / batman-adv / hash.c
index 2a172505f5134c4b1618765ec14c7ae8e0209c5c..d1da29da333b35d33185e5bf883a6f5776239361 100644 (file)
@@ -25,7 +25,7 @@
 /* clears the hash */
 static void hash_init(struct hashtable_t *hash)
 {
-       int i;
+       uint32_t i;
 
        for (i = 0 ; i < hash->size; i++) {
                INIT_HLIST_HEAD(&hash->table[i]);
@@ -42,7 +42,7 @@ void hash_destroy(struct hashtable_t *hash)
 }
 
 /* allocates and clears the hash */
-struct hashtable_t *hash_new(int size)
+struct hashtable_t *hash_new(uint32_t size)
 {
        struct hashtable_t *hash;
 
This page took 0.026057 seconds and 5 git commands to generate.