From 2274e4f83a56843dc378cfb79c8bf343be6a43cb Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 8 Nov 2002 21:16:27 +0000 Subject: [PATCH] Fix a sizeof(int) != sizeof(void *) warning. --- sys/netipx/ipx_ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netipx/ipx_ip.c b/sys/netipx/ipx_ip.c index d306713850f..6f5d74c2ba8 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) {