commit | fce954f8de1456dd62d26b52902a4a352ef17a93 | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Thu Oct 07 20:29:24 2004 +0000 |
committer | hasso <hasso> | Thu Oct 07 20:29:24 2004 +0000 |
tree | 3dee77fa141697940a9ff3203ea453e454e88d95 | |
parent | 1cd80845dc5262ff7d3d38deb1921f0b8390f4df [diff] [blame] |
Fix warnings. Didn't even look at files not compiled in Linux though.
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 93a13f8..a06fd90 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c
@@ -63,7 +63,7 @@ /* Allocate new VRF. */ struct vrf * -vrf_alloc (char *name) +vrf_alloc (const char *name) { struct vrf *vrf; @@ -102,7 +102,7 @@ struct vrf * vrf_lookup_by_name (char *name) { - int i; + unsigned int i; struct vrf *vrf; for (i = 0; i < vector_max (vrf_vector); i++)