summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-24 00:31:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-24 00:31:16 +0000
commitbf840418f497e7616227cd6d9efa7286e646bce9 (patch)
tree9b7d371c35bfa784bec0e2b9a16635665622f437
parentd6bbca4adaca29de3692de98b5f50282141ba2e8 (diff)
cmd is a u_long
-rw-r--r--sys/netinet/raw_ip.c4
-rw-r--r--sys/netinet/udp_usrreq.c4
2 files changed, 4 insertions, 4 deletions
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;