aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2021-04-10 13:48:25 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2021-04-10 13:48:25 +0000
commit63dceebe68569c3a7ebd07d0a6123264da625149 (patch)
treea638ada8d51f5dcdce6e05b81fb6d8c63150fc98 /sys/net
parentcaf2f62765f9087a6e0002b1c47c3c6f65a8ae0b (diff)
downloadsrc-63dceebe68569c3a7ebd07d0a6123264da625149.tar.gz
src-63dceebe68569c3a7ebd07d0a6123264da625149.zip
Appease -Wsign-compare in radix.c
Differential Revision: https://reviews.freebsd.org/D29661 Submitted by: zec MFC after 2 weeks
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/radix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c
index 1f58318e52ae..931bf6db871b 100644
--- a/sys/net/radix.c
+++ b/sys/net/radix.c
@@ -428,7 +428,7 @@ rn_insert(void *v_arg, struct radix_head *head, int *dupentry,
int head_off = top->rn_offset, vlen = LEN(v);
struct radix_node *t = rn_search(v_arg, top);
caddr_t cp = v + head_off;
- int b;
+ unsigned b;
struct radix_node *p, *tt, *x;
/*
* Find first bit at which v and t->rn_key differ