summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni/uniarp_cache.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-07-29 13:32:10 +0000
committerharti <harti@FreeBSD.org>2003-07-29 13:32:10 +0000
commite57d86c1ec38c63f22ddae8025c1dbc035586faa (patch)
tree676fa306ffbf8bb59c756cf9a9bb95f16ae21cd4 /sys/netatm/uni/uniarp_cache.c
parent0b9b67134272377bf22b1b9f1092a5da3d74f251 (diff)
downloadFreeBSD-src-e57d86c1ec38c63f22ddae8025c1dbc035586faa.zip
FreeBSD-src-e57d86c1ec38c63f22ddae8025c1dbc035586faa.tar.gz
Make the ioctl() interface cleaner with regard to types: use size_t
instead of int where the variable has to hold buffer lengths, use u_int for things like number of network interfaces which in principle can never be negative.
Diffstat (limited to 'sys/netatm/uni/uniarp_cache.c')
-rw-r--r--sys/netatm/uni/uniarp_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatm/uni/uniarp_cache.c b/sys/netatm/uni/uniarp_cache.c
index 10b7118..3aba40a 100644
--- a/sys/netatm/uni/uniarp_cache.c
+++ b/sys/netatm/uni/uniarp_cache.c
@@ -406,7 +406,7 @@ uniarp_validate_ip(uip, ip, origin)
u_int origin;
{
struct uniarp_prf *upp;
- int i;
+ u_int i;
/*
OpenPOWER on IntegriCloud