1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

fix build on 64-bit platforms

This commit is contained in:
Sam Leffler 2003-09-17 18:14:49 +00:00
parent aca282e269
commit fd9469f628
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120177

View File

@ -852,7 +852,7 @@ bridge_in(struct ifnet *ifp, struct ether_header *eh)
eh->ether_shost, ".",
eh->ether_dhost, ".",
ntohs(eh->ether_type),
(dst <= BDG_FORWARD) ? bdg_dst_names[(int)dst] :
(dst <= BDG_FORWARD) ? bdg_dst_names[(uintptr_t)dst] :
dst->if_name,
(dst <= BDG_FORWARD) ? 0 : dst->if_unit));