Fix warning. s/char/unsigned char/ in "(char *)eth"
294: warning: ethernet address is not type unsigned char *
This commit is contained in:
parent
6cac567e1b
commit
65f1bb65fe
@ -291,7 +291,7 @@ vlan_start(struct ifnet *ifp)
|
|||||||
evl->evl_tag = htons(ifv->ifv_tag);
|
evl->evl_tag = htons(ifv->ifv_tag);
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("vlan_start: %*D\n", sizeof *evl,
|
printf("vlan_start: %*D\n", sizeof *evl,
|
||||||
(char *)evl, ":");
|
(unsigned char *)evl, ":");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user