summaryrefslogtreecommitdiffstats
path: root/lib/hash.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-05 21:01:23 +0000
committerhasso <hasso>2004-10-05 21:01:23 +0000
commitff2e9e3c3816b7b828bbb023639db52364d729ff (patch)
tree7c586b5a363b80f0ecb4ab63137f89747ea72dd5 /lib/hash.c
parent19290b43288f6636b6eca07156a4069324962751 (diff)
downloadquagga-ff2e9e3c3816b7b828bbb023639db52364d729ff.tar.bz2
quagga-ff2e9e3c3816b7b828bbb023639db52364d729ff.tar.xz
Number of warnings is down to 3 again in lib directory. A lot of const's
added to strings and a lot of int -> unsigned int changes.
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hash.c b/lib/hash.c
index e89171b8..04549ada 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -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;