From bb73c7c3709076395a61d6807748c37e07822c57 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 30 Jan 2013 22:51:30 +0100 Subject: [PATCH] Fix compile error --- src/ra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ra.c b/src/ra.c index f9fd573..602191a 100644 --- a/src/ra.c +++ b/src/ra.c @@ -145,7 +145,7 @@ bool ra_rtnl_process(void) if (len < 0) break; - for (struct nlmsghdr *nh = (struct nlmsghdr*)buf; NLMSG_OK(nh, len); + for (struct nlmsghdr *nh = (struct nlmsghdr*)buf; NLMSG_OK(nh, (size_t)len); nh = NLMSG_NEXT(nh, len)) { struct ifaddrmsg *ifa = NLMSG_DATA(nh); struct in6_addr *addr = NULL; -- 2.39.2