From bf840418f497e7616227cd6d9efa7286e646bce9 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 24 Jul 1997 00:31:16 +0000 Subject: cmd is a u_long --- sys/netinet/raw_ip.c | 4 ++-- sys/netinet/udp_usrreq.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/netinet') diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index 1efb0a209f3..e4aba65a05e 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip.c,v 1.9 1997/01/30 22:41:59 deraadt Exp $ */ +/* $OpenBSD: raw_ip.c,v 1.10 1997/07/24 00:31:14 deraadt Exp $ */ /* $NetBSD: raw_ip.c,v 1.25 1996/02/18 18:58:33 christos Exp $ */ /* @@ -296,7 +296,7 @@ rip_usrreq(so, req, m, nam, control) extern struct socket *ip_mrouter; #endif if (req == PRU_CONTROL) - return (in_control(so, (long)m, (caddr_t)nam, + return (in_control(so, (u_long)m, (caddr_t)nam, (struct ifnet *)control)); if (inp == NULL && req != PRU_ATTACH) { diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index ed53e8d88a8..9ec5b2ce0e7 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp_usrreq.c,v 1.10 1997/06/27 02:23:22 deraadt Exp $ */ +/* $OpenBSD: udp_usrreq.c,v 1.11 1997/07/24 00:31:15 deraadt Exp $ */ /* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */ /* @@ -527,7 +527,7 @@ udp_usrreq(so, req, m, addr, control) int s; if (req == PRU_CONTROL) - return (in_control(so, (long)m, (caddr_t)addr, + return (in_control(so, (u_long)m, (caddr_t)addr, (struct ifnet *)control)); if (inp == NULL && req != PRU_ATTACH) { error = EINVAL; -- cgit v1.2.3