From 5347bbeaf298405b5130d36f4f0a07641ede79c5 Mon Sep 17 00:00:00 2001 From: mux Date: Thu, 27 Jun 2002 11:02:06 +0000 Subject: Warning fixes for 64 bits platforms. With this last fix, I can build a GENERIC sparc64 kernel with -Werror. Reviewed by: luigi --- sys/netinet/ip_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netinet/ip_output.c') diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 1576a5a..3402a28 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -168,7 +168,7 @@ ip_output(m0, opt, ro, flags, imo) break; case PACKET_TAG_DIVERT: - args.divert_rule = (int)m0->m_data & 0xffff; + args.divert_rule = (intptr_t)m0->m_data & 0xffff; break; case PACKET_TAG_IPFORWARD: -- cgit v1.1