Fix for the cros-compilation with Chromium OS’s toolchain that
uses GCC 4.9
---
ell/genl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ell/genl.c b/ell/genl.c
index cff3a9a..d9cfddb 100644
--- a/ell/genl.c
+++ b/ell/genl.c
@@ -498,7 +498,7 @@ static bool received_data(struct l_io *io, void *user_data)
group = pktinfo.group;
}
- 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)) {
if (group > 0)
process_multicast(genl, group, nlmsg);
--
2.9.4