diff options
author | Maxime Henrion <mux@FreeBSD.org> | 2002-10-24 09:58:50 +0000 |
---|---|---|
committer | Maxime Henrion <mux@FreeBSD.org> | 2002-10-24 09:58:50 +0000 |
commit | 56e77afa59ee3c7d7df90edd28b16d09a289cd92 (patch) | |
tree | 1460c1bcb270a0a097a9773a49f3b0ec80af2f4f | |
parent | 9991db0cb57faa6b635d8ebc1f96500da4b58b1e (diff) | |
download | src-56e77afa59ee3c7d7df90edd28b16d09a289cd92.tar.gz src-56e77afa59ee3c7d7df90edd28b16d09a289cd92.zip |
Fix kernel build on sparc64 in the IPDIVERT case.
Notes
Notes:
svn path=/head/; revision=105856
-rw-r--r-- | sys/netinet/ip_divert.c | 2 |
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. |