summaryrefslogtreecommitdiff
path: root/sys/netipx/spx_usrreq.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-23 10:22:14 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-23 10:22:14 +0000
commit1e51c151caf32fd6e6dffda729bde6d2a0b7da44 (patch)
tree43f70628267f63310b120e0f8c6e3d81c9aa2516 /sys/netipx/spx_usrreq.c
parent4518752a69ed90bfa748ccb9197b03f639b7099f (diff)
make this compile on alpha
Diffstat (limited to 'sys/netipx/spx_usrreq.c')
-rw-r--r--sys/netipx/spx_usrreq.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c
index 9225bb3680a..ef961ea9e73 100644
--- a/sys/netipx/spx_usrreq.c
+++ b/sys/netipx/spx_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spx_usrreq.c,v 1.16 2001/06/27 03:49:54 angelos Exp $ */
+/* $OpenBSD: spx_usrreq.c,v 1.17 2001/09/23 10:22:13 mickey Exp $ */
/*-
*
@@ -1276,7 +1276,7 @@ spx_usrreq(so, req, m, nam, controlp)
register struct sockbuf *sb;
if (req == PRU_CONTROL)
- return (ipx_control(so, (int)m, (caddr_t)nam,
+ return (ipx_control(so, (long)m, (caddr_t)nam,
(struct ifnet *)controlp));
if (ipxp == NULL) {
if (req != PRU_ATTACH) {
@@ -1481,8 +1481,8 @@ spx_usrreq(so, req, m, nam, controlp)
break;
case PRU_SLOWTIMO:
- cb = spx_timers(cb, (int)nam);
- req |= ((int)nam) << 8;
+ cb = spx_timers(cb, (long)nam);
+ req |= ((long)nam) << 8;
break;
case PRU_FASTTIMO:
@@ -1683,8 +1683,8 @@ spx_slowtimo()
for (i = 0; i < SPXT_NTIMERS; i++) {
if (cb->s_timer[i] && --cb->s_timer[i] == 0) {
(void) spx_usrreq(cb->s_ipxpcb->ipxp_socket,
- PRU_SLOWTIMO, (struct mbuf *)0,
- (struct mbuf *)i, (struct mbuf *)0);
+ PRU_SLOWTIMO, NULL,
+ (struct mbuf *)(long)i, NULL);
if (ipxnxt->ipxp_queue.cqe_prev != ipx)
goto tpgone;
}