]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/hash.c
Number of warnings is down to 3 again in lib directory. A lot of const's
[mirror_frr.git] / lib / hash.c
index e89171b89c040693d301755a13102d5cffba8cde..04549ada2a6b0e5528412c8d65c342ae25070bd3 100644 (file)
@@ -140,7 +140,7 @@ void
 hash_iterate (struct hash *hash, 
              void (*func) (struct hash_backet *, void *), void *arg)
 {
-  int i;
+  unsigned int i;
   struct hash_backet *hb;
   struct hash_backet *hbnext;
 
@@ -159,7 +159,7 @@ hash_iterate (struct hash *hash,
 void
 hash_clean (struct hash *hash, void (*free_func) (void *))
 {
-  int i;
+  unsigned int i;
   struct hash_backet *hb;
   struct hash_backet *next;