diff options
author | peter <peter@FreeBSD.org> | 2002-02-28 00:09:17 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-02-28 00:09:17 +0000 |
commit | d31ac9bebb177ba61bb4e748bebcd1fbd2426c33 (patch) | |
tree | 5f185da4ccbff8eec9faf9b02490c88e1b1efd05 /sys/net/if_stf.c | |
parent | 4bb5a22561e60ce30706d5f3928787022c7fa688 (diff) | |
download | FreeBSD-src-d31ac9bebb177ba61bb4e748bebcd1fbd2426c33.zip FreeBSD-src-d31ac9bebb177ba61bb4e748bebcd1fbd2426c33.tar.gz |
Fix warnings.
Diffstat (limited to 'sys/net/if_stf.c')
-rw-r--r-- | sys/net/if_stf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c index b0344ab..1b15c9b 100644 --- a/sys/net/if_stf.c +++ b/sys/net/if_stf.c @@ -144,7 +144,7 @@ static int ip_stf_ttl = 40; extern struct domain inetdomain; struct protosw in_stf_protosw = { SOCK_RAW, &inetdomain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR, - in_stf_input, rip_output, 0, rip_ctloutput, + in_stf_input, (pr_output_t*)rip_output, 0, rip_ctloutput, 0, 0, 0, 0, 0, &rip_usrreqs @@ -311,7 +311,7 @@ stf_encapcheck(m, off, proto, arg) return 0; /* LINTED const cast */ - m_copydata((struct mbuf *)m, 0, sizeof(ip), (caddr_t)&ip); + m_copydata((struct mbuf *)(uintptr_t)m, 0, sizeof(ip), (caddr_t)&ip); if (ip.ip_v != 4) return 0; |