net is a long; bug report 4.3BSD/lib/35
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 1 Oct 1987 02:50:40 +0000 (18:50 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 1 Oct 1987 02:50:40 +0000 (18:50 -0800)
SCCS-vsn: lib/libc/net/getnetbyaddr.c 5.4

usr/src/lib/libc/net/getnetbyaddr.c

index 786bff6..6251811 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)getnetbyaddr.c     5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)getnetbyaddr.c     5.4 (Berkeley) %G%";
 #endif LIBC_SCCS and not lint
 
 #include <netdb.h>
 #endif LIBC_SCCS and not lint
 
 #include <netdb.h>
@@ -14,7 +14,8 @@ extern int _net_stayopen;
 
 struct netent *
 getnetbyaddr(net, type)
 
 struct netent *
 getnetbyaddr(net, type)
-       register int net, type;
+       register long net;
+       register int type;
 {
        register struct netent *p;
 
 {
        register struct netent *p;