mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:12:48 +01:00
monitor: Fix casting error
Fix for the cros-compilation with Chromium OS’s toolchain that uses GCC 4.9
This commit is contained in:
parent
d3cf79ed12
commit
4d626d6576
@ -4858,7 +4858,7 @@ static bool nlmon_receive(struct l_io *io, void *user_data)
|
||||
}
|
||||
}
|
||||
|
||||
for (nlmsg = iov.iov_base; NLMSG_OK(nlmsg, bytes_read);
|
||||
for (nlmsg = iov.iov_base; NLMSG_OK(nlmsg, (uint32_t) bytes_read);
|
||||
nlmsg = NLMSG_NEXT(nlmsg, bytes_read)) {
|
||||
switch (proto_type) {
|
||||
case NETLINK_ROUTE:
|
||||
|
Loading…
Reference in New Issue
Block a user