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
1 changed files with 1 additions and 1 deletions

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: