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.
diff --git a/lib/routemap.c b/lib/routemap.c
index 9d6bbcf..67bbc03 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -171,7 +171,7 @@
}
/* 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 @@
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 @@
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++)