mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Fix build on GCC.
This commit is contained in:
parent
5da6cd4747
commit
6224cd89c0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257731
@ -541,7 +541,8 @@ static int
|
||||
in_difaddr_ioctl(caddr_t data, struct ifnet *ifp, struct thread *td)
|
||||
{
|
||||
const struct ifreq *ifr = (struct ifreq *)data;
|
||||
const struct sockaddr_in *addr = (struct sockaddr_in *)&ifr->ifr_addr;
|
||||
const struct sockaddr_in *addr = (const struct sockaddr_in *)
|
||||
&ifr->ifr_addr;
|
||||
struct ifaddr *ifa;
|
||||
struct in_ifaddr *ia;
|
||||
bool deleteAny, iaIsLast;
|
||||
|
Loading…
Reference in New Issue
Block a user