about summary refs log tree commit diff
path: root/inet/inet_mkadr.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/inet_mkadr.c')
-rw-r--r--inet/inet_mkadr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/inet_mkadr.c b/inet/inet_mkadr.c
index 7976188ea5..7f260744e9 100644
--- a/inet/inet_mkadr.c
+++ b/inet/inet_mkadr.c
@@ -45,9 +45,9 @@ static char sccsid[] = "@(#)inet_makeaddr.c	8.1 (Berkeley) 6/4/93";
  */
 struct in_addr
 inet_makeaddr(net, host)
-	u_long net, host;
+	u_int32_t net, host;
 {
-	u_long addr;
+	u_int32_t addr;
 
 	if (net < 128)
 		addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);