Fix kernel build on sparc64 in the IPDIVERT case.

This commit is contained in:
Maxime Henrion 2002-10-24 09:58:50 +00:00
parent 9991db0cb5
commit 56e77afa59

View File

@ -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.