summaryrefslogtreecommitdiffstats
path: root/lib/hash.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-05 23:01:23 +0200
committerhasso <hasso>2004-10-05 23:01:23 +0200
commit8c328f1106cf0498333c2d8a96940e7b4581e316 (patch)
tree9bf24cca6a68a9dd5d4dda586484e497d0c19ca6 /lib/hash.c
parent2004-10-05 Paul Jakma <paul@dishone.st> (diff)
downloadfrr-8c328f1106cf0498333c2d8a96940e7b4581e316.tar.xz
frr-8c328f1106cf0498333c2d8a96940e7b4581e316.zip
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 e89171b89..04549ada2 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;