about summary refs log tree commit diff
path: root/resolv/getnetbyaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/getnetbyaddr.c')
-rw-r--r--resolv/getnetbyaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/getnetbyaddr.c b/resolv/getnetbyaddr.c
index 3bc01addb6..32513cc387 100644
--- a/resolv/getnetbyaddr.c
+++ b/resolv/getnetbyaddr.c
@@ -42,7 +42,7 @@ extern int _net_stayopen;
 
 struct netent *
 _getnetbyaddr(net, type)
-	register long net;
+	register unsigned long net;
 	register int type;
 {
 	register struct netent *p;