summaryrefslogtreecommitdiffstats
path: root/sys/dev/awi/awi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/awi/awi.c')
-rw-r--r--sys/dev/awi/awi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/awi/awi.c b/sys/dev/awi/awi.c
index 024f1eb..ca4de35 100644
--- a/sys/dev/awi/awi.c
+++ b/sys/dev/awi/awi.c
@@ -1308,7 +1308,7 @@ awi_fix_rxhdr(sc, m0)
m_adj(m0, sizeof(wh));
}
if (ALIGN(mtod(m0, caddr_t) + sizeof(struct ether_header)) !=
- (u_int)(mtod(m0, caddr_t) + sizeof(struct ether_header))) {
+ (uintptr_t)(mtod(m0, caddr_t) + sizeof(struct ether_header))) {
/* XXX: we loose to estimate the type of encapsulation */
struct mbuf *n, *n0, **np;
caddr_t newdata;
OpenPOWER on IntegriCloud