From f345f5e020da78a6084c41b1fa668ddaa689b3f9 Mon Sep 17 00:00:00 2001 From: Hartmut Brandt Date: Tue, 29 Jul 2003 13:46:43 +0000 Subject: [PATCH] The number of prefixes can never be negative so use an u_int for this. --- sys/netatm/uni/uniip_var.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netatm/uni/uniip_var.h b/sys/netatm/uni/uniip_var.h index 7d7ef3d4774d..fd5129a4f766 100644 --- a/sys/netatm/uni/uniip_var.h +++ b/sys/netatm/uni/uniip_var.h @@ -52,7 +52,7 @@ struct uniip { u_char uip_arpstate; /* ARP interface state (see below) */ struct arpmap uip_arpsvrmap; /* ATMARP server map info */ struct ipvcc *uip_arpsvrvcc; /* ATMARP server's VCC */ - int uip_nprefix; /* Count of IP prefixes (server only) */ + u_int uip_nprefix; /* Count of IP prefixes (server only) */ struct uniarp_prf *uip_prefix; /* Array of IP prefixes (server only) */ struct atm_time uip_arptime; /* ARP timer controls */ };