mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
virnetdevip: Avoid cast align warning
Commit 7282f455a
got rid of the VIR_WARNINGS_NO_CAST_ALIGN macro
when refactoring the code and broke the build with clang.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
7ea55e04c3
commit
0ca65b7b61
@ -599,7 +599,9 @@ virNetDevIPCheckIPv6ForwardingCallback(struct nlmsghdr *resp,
|
||||
data->hasRARoutes = true;
|
||||
|
||||
len -= NLMSG_ALIGN(nh->rtnh_len);
|
||||
VIR_WARNINGS_NO_CAST_ALIGN
|
||||
nh = RTNH_NEXT(nh);
|
||||
VIR_WARNINGS_RESET
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user