From fce954f8de1456dd62d26b52902a4a352ef17a93 Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 7 Oct 2004 20:29:24 +0000 Subject: Fix warnings. Didn't even look at files not compiled in Linux though. --- zebra/zebra_rib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zebra/zebra_rib.c') 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++) -- cgit v1.2.3