summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-07 20:29:24 +0000
committerhasso <hasso>2004-10-07 20:29:24 +0000
commit2cad11ad164e041432f4c8feee0a5fcaa7a4ff5c (patch)
tree95975ca20dcae4f2447c76b09a73406d84aaa86f /zebra/zebra_rib.c
parent2f8d6b9f814af2a89594740dc05773a1d5b84e67 (diff)
downloadquagga-2cad11ad164e041432f4c8feee0a5fcaa7a4ff5c.tar.bz2
quagga-2cad11ad164e041432f4c8feee0a5fcaa7a4ff5c.tar.xz
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.c4
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++)