Fix a sizeof(int) != sizeof(void *) warning.

This commit is contained in:
John Baldwin 2002-11-08 21:16:27 +00:00
parent 8214d60e20
commit 2274e4f83a

View file

@ -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) {