summaryrefslogtreecommitdiff
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
commit8c328f1106cf0498333c2d8a96940e7b4581e316 (patch)
tree9bf24cca6a68a9dd5d4dda586484e497d0c19ca6 /lib/hash.c
parent98c91ac6ac085713c00af00a6ac41779be6b50b3 (diff)
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;