diff options
author | hasso <hasso> | 2004-10-05 21:01:23 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-05 21:01:23 +0000 |
commit | 8c328f1106cf0498333c2d8a96940e7b4581e316 (patch) | |
tree | 9bf24cca6a68a9dd5d4dda586484e497d0c19ca6 /lib/routemap.c | |
parent | 98c91ac6ac085713c00af00a6ac41779be6b50b3 (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/routemap.c')
-rw-r--r-- | lib/routemap.c | 6 |
1 files changed, 3 insertions, 3 deletions
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++) |