diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-08 21:16:27 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-08 21:16:27 +0000 |
commit | 4481b3e997a34c65bedbae270578e58361c97d0e (patch) | |
tree | 9d03750744f953eab6c281632b5b84c9e42a7099 /sys/netipx | |
parent | 5c9fa9d32aed4b4d0863f73de0c1eccbd31c35f2 (diff) | |
download | FreeBSD-src-4481b3e997a34c65bedbae270578e58361c97d0e.zip FreeBSD-src-4481b3e997a34c65bedbae270578e58361c97d0e.tar.gz |
Fix a sizeof(int) != sizeof(void *) warning.
Diffstat (limited to 'sys/netipx')
-rw-r--r-- | sys/netipx/ipx_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipx/ipx_ip.c b/sys/netipx/ipx_ip.c index d306713..6f5d74c 100644 --- a/sys/netipx/ipx_ip.c +++ b/sys/netipx/ipx_ip.c @@ -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) { |