From: dm Date: Tue, 5 Mar 1996 02:29:37 +0000 (+0000) Subject: need some casts for clean compile X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=143ea6d50135988e41a95613930539a1ddbcce01;p=openbsd need some casts for clean compile --- 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;