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/routemap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/routemap.c') diff --git a/lib/routemap.c b/lib/routemap.c index 9d6bbcfd..67bbc034 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -171,7 +171,7 @@ route_map_get (char *name) } /* Return route map's type string. */ -static char * +const static char * route_map_type_str (enum route_map_type type) { switch (type) @@ -426,7 +426,7 @@ route_map_install_set (struct route_map_rule_cmd *cmd) struct route_map_rule_cmd * route_map_lookup_match (char *name) { - int i; + unsigned int i; struct route_map_rule_cmd *rule; for (i = 0; i < vector_max (route_match_vec); i++) @@ -440,7 +440,7 @@ route_map_lookup_match (char *name) struct route_map_rule_cmd * route_map_lookup_set (char *name) { - int i; + unsigned int i; struct route_map_rule_cmd *rule; for (i = 0; i < vector_max (route_set_vec); i++) -- cgit v1.2.3