From 8c328f1106cf0498333c2d8a96940e7b4581e316 Mon Sep 17 00:00:00 2001 From: hasso Date: Tue, 5 Oct 2004 21:01:23 +0000 Subject: 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. --- lib/if_rmap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/if_rmap.c') diff --git a/lib/if_rmap.c b/lib/if_rmap.c index 4cf8ad9a..0f3fa9c7 100644 --- a/lib/if_rmap.c +++ b/lib/if_rmap.c @@ -106,8 +106,7 @@ if_rmap_get (char *ifname) unsigned int if_rmap_hash_make (struct if_rmap *if_rmap) { - unsigned int key; - int i; + unsigned int i, key; key = 0; for (i = 0; i < strlen (if_rmap->ifname); i++) @@ -276,7 +275,7 @@ ALIAS (no_if_rmap, int config_write_if_rmap (struct vty *vty) { - int i; + unsigned int i; struct hash_backet *mp; int write = 0; -- cgit v1.2.1