mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Fix kernel build on sparc64 in the IPDIVERT case.
This commit is contained in:
parent
9991db0cb5
commit
56e77afa59
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue