aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/awi
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-11-06 20:04:41 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-11-06 20:04:41 +0000
commita7a1238911aad3e3805f78c460478edbaeb27c8f (patch)
tree235d5ad07badc0baad900b04a6d7ed84f26d476f /sys/dev/awi
parent929791c8cc08ac6634b5beaae4410d5f96e6c444 (diff)
Notes
Diffstat (limited to 'sys/dev/awi')
-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 024f1eb30b8e..ca4de35b03db 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;