diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-24 00:25:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-24 00:25:26 +0000 |
commit | d6bbca4adaca29de3692de98b5f50282141ba2e8 (patch) | |
tree | 5f57d572b657f6559b35549e1c2a22e3c45b5cfd /sys/netatalk | |
parent | 06322f927915a0b2fc883c3eaf2ad3a4d96db91d (diff) |
cmd is a u_long
Diffstat (limited to 'sys/netatalk')
-rw-r--r-- | sys/netatalk/at_control.c | 6 | ||||
-rw-r--r-- | sys/netatalk/ddp_usrreq.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/netatalk/at_control.c b/sys/netatalk/at_control.c index a10831427a8..eac2e17a656 100644 --- a/sys/netatalk/at_control.c +++ b/sys/netatalk/at_control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: at_control.c,v 1.1 1997/07/23 03:39:51 denny Exp $ */ +/* $OpenBSD: at_control.c,v 1.2 1997/07/24 00:25:22 deraadt Exp $ */ /* * Copyright (c) 1990,1991 Regents of The University of Michigan. @@ -78,7 +78,7 @@ #include <dev/rndvar.h> -int at_control __P(( int, caddr_t, struct ifnet *, struct proc * )); +int at_control __P(( u_long, caddr_t, struct ifnet *, struct proc * )); static int at_scrub __P(( struct ifnet *, struct at_ifaddr * )); static int at_ifinit __P(( struct ifnet *, struct at_ifaddr *, struct sockaddr_at * )); @@ -99,7 +99,7 @@ static int aa_dosingleroute __P((struct ifaddr *, struct at_addr *, int at_control( cmd, data, ifp, p ) - int cmd; + u_long cmd; caddr_t data; struct ifnet *ifp; struct proc *p; diff --git a/sys/netatalk/ddp_usrreq.c b/sys/netatalk/ddp_usrreq.c index 6c6dac6970e..0a6c5a89d79 100644 --- a/sys/netatalk/ddp_usrreq.c +++ b/sys/netatalk/ddp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ddp_usrreq.c,v 1.1 1997/07/23 03:39:54 denny Exp $ */ +/* $OpenBSD: ddp_usrreq.c,v 1.2 1997/07/24 00:25:23 deraadt Exp $ */ /* * Copyright (c) 1990,1994 Regents of The University of Michigan. @@ -105,7 +105,7 @@ ddp_usrreq( so, req, m, addr, rights ) ddp = sotoddpcb( so ); if ( req == PRU_CONTROL ) { - return( at_control( (int) m, (caddr_t) addr, + return( at_control( (u_long) m, (caddr_t) addr, (struct ifnet *) rights, p )); } |