summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2002-10-06 14:02:35 +0000
committerMaxime Henrion <mux@FreeBSD.org>2002-10-06 14:02:35 +0000
commit1f6973c5b44cf0a7509373d8624f95eb29e11d6b (patch)
treebc39209c7ad49faf62ce9fc726a893a58915499d /sys
parent82c6ef299e6c00ce19df8523ec8b060b01ebcc35 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/net/bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bridge.c b/sys/net/bridge.c
index 23736de5d9cb..e41d8c77c482 100644
--- a/sys/net/bridge.c
+++ b/sys/net/bridge.c
@@ -845,7 +845,7 @@ bdg_forward(struct mbuf *m0, struct ether_header *const eh, struct ifnet *dst)
ifp = dst ;
once = 1 ;
}
- if ( (u_int)(ifp) <= (u_int)BDG_FORWARD )
+ if ((uintptr_t)(ifp) <= (u_int)BDG_FORWARD)
panic("bdg_forward: bad dst");
/*