aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_divert.c
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2002-10-24 09:58:50 +0000
committerMaxime Henrion <mux@FreeBSD.org>2002-10-24 09:58:50 +0000
commit56e77afa59ee3c7d7df90edd28b16d09a289cd92 (patch)
tree1460c1bcb270a0a097a9773a49f3b0ec80af2f4f /sys/netinet/ip_divert.c
parent9991db0cb57faa6b635d8ebc1f96500da4b58b1e (diff)
downloadsrc-56e77afa59ee3c7d7df90edd28b16d09a289cd92.tar.gz
src-56e77afa59ee3c7d7df90edd28b16d09a289cd92.zip
Fix kernel build on sparc64 in the IPDIVERT case.
Notes
Notes: svn path=/head/; revision=105856
Diffstat (limited to 'sys/netinet/ip_divert.c')
-rw-r--r--sys/netinet/ip_divert.c2
1 files changed, 1 insertions, 1 deletions
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.