summaryrefslogtreecommitdiffstats
path: root/sys/net/radix_mpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/radix_mpath.c')
-rw-r--r--sys/net/radix_mpath.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/radix_mpath.c b/sys/net/radix_mpath.c
index b04b42a..03800f6 100644
--- a/sys/net/radix_mpath.c
+++ b/sys/net/radix_mpath.c
@@ -76,10 +76,10 @@ rn_mpath_next(struct radix_node *rn)
return NULL;
}
-int
+u_int32_t
rn_mpath_count(struct radix_node *rn)
{
- int i;
+ u_int32_t i;
i = 1;
while ((rn = rn_mpath_next(rn)) != NULL)
@@ -255,10 +255,10 @@ different:
}
void
-rtalloc_mpath_fib(struct route *ro, int hash, u_int fibnum)
+rtalloc_mpath_fib(struct route *ro, u_int32_t hash, u_int fibnum)
{
struct radix_node *rn0, *rn;
- int n;
+ u_int32_t n;
/*
* XXX we don't attempt to lookup cached route again; what should
OpenPOWER on IntegriCloud