mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix a sizeof(int) != sizeof(void *) warning.
This commit is contained in:
parent
8214d60e20
commit
2274e4f83a
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ ipxipoutput(ifp, m, dst, rt)
|
|||
if (len & 1)
|
||||
len++; /* Preserve Garbage Byte */
|
||||
/* following clause not necessary on vax */
|
||||
if (3 & (int)m->m_data) {
|
||||
if (3 & (intptr_t)m->m_data) {
|
||||
/* force longword alignment of ip hdr */
|
||||
struct mbuf *m0 = m_gethdr(MT_HEADER, M_DONTWAIT);
|
||||
if (m0 == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue