summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-03-05 02:29:38 +0000
committerdm <dm@cvs.openbsd.org>1996-03-05 02:29:38 +0000
commitdc9d66dbb4ac3b9a8cec8cca51b8d8683535970d (patch)
treeacf42c5dcd624bdc21e9c6cf2c4c1c613881f69d
parent9f9ebe44ec9364c5be35035ff4e1825f4322e204 (diff)
need some casts for clean compile
-rw-r--r--sys/net/if.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index e45710b4202..a13a6307d57 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.4 1996/03/03 21:07:04 niklas Exp $ */
+/* $OpenBSD: if.c,v 1.5 1996/03/05 02:29:37 dm Exp $ */
/* $NetBSD: if.c,v 1.24 1996/02/13 22:00:09 christos Exp $ */
/*
@@ -510,7 +510,8 @@ ifioctl(so, cmd, data, p)
return (EOPNOTSUPP);
#ifndef COMPAT_43
return ((*so->so_proto->pr_usrreq)(so, PRU_CONTROL,
- cmd, data, ifp));
+ (struct mbuf *) cmd, (struct mbuf *) data,
+ (struct mbuf *) ifp));
#else
{
int ocmd = cmd;