diff options
author | hasso <hasso> | 2004-10-07 20:29:24 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-07 20:29:24 +0000 |
commit | fce954f8de1456dd62d26b52902a4a352ef17a93 (patch) | |
tree | 3dee77fa141697940a9ff3203ea453e454e88d95 /zebra/zebra_rib.c | |
parent | 1cd80845dc5262ff7d3d38deb1921f0b8390f4df (diff) |
Fix warnings. Didn't even look at files not compiled in Linux though.
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r-- | zebra/zebra_rib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 93a13f81..a06fd909 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -63,7 +63,7 @@ vector vrf_vector; /* Allocate new VRF. */ struct vrf * -vrf_alloc (char *name) +vrf_alloc (const char *name) { struct vrf *vrf; @@ -102,7 +102,7 @@ vrf_lookup (u_int32_t id) 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++) |