From 56e77afa59ee3c7d7df90edd28b16d09a289cd92 Mon Sep 17 00:00:00 2001 From: Maxime Henrion Date: Thu, 24 Oct 2002 09:58:50 +0000 Subject: Fix kernel build on sparc64 in the IPDIVERT case. --- sys/netinet/ip_divert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netinet/ip_divert.c') diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c index c79ddfa8b127..808819d1f4dd 100644 --- a/sys/netinet/ip_divert.c +++ b/sys/netinet/ip_divert.c @@ -277,7 +277,7 @@ div_output(struct socket *so, struct mbuf *m, if (sin) { int i; - divert_tag.mh_data = (caddr_t)(int)sin->sin_port; + divert_tag.mh_data = (caddr_t)(uintptr_t)sin->sin_port; /* * Find receive interface with the given name, stuffed * (if it exists) in the sin_zero[] field. -- cgit v1.2.3