3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +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:
Tim Kourt 2017-08-22 16:10:40 -07:00 committed by Denis Kenzior
parent d3cf79ed12
commit 4d626d6576

View File

@ -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: