From 143ea6d50135988e41a95613930539a1ddbcce01 Mon Sep 17 00:00:00 2001 From: dm Date: Tue, 5 Mar 1996 02:29:37 +0000 Subject: [PATCH] need some casts for clean compile --- sys/net/if.c | 5 +++-- 1 file 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; -- 2.20.1