Add a cast to quiet a warning.

This commit is contained in:
John Baldwin 2002-11-07 22:49:15 +00:00
parent cd034a5be9
commit a92833983a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106601

View File

@ -336,7 +336,7 @@ vlan_start(struct ifnet *ifp)
evl->evl_encap_proto = htons(ETHERTYPE_VLAN);
evl->evl_tag = htons(ifv->ifv_tag);
#ifdef DEBUG
printf("vlan_start: %*D\n", sizeof *evl,
printf("vlan_start: %*D\n", (int)sizeof *evl,
(unsigned char *)evl, ":");
#endif
}