--- zzzz-none-000/linux-4.1.52/include/net/rtnetlink.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/net/rtnetlink.h 2022-03-02 11:37:13.000000000 +0000 @@ -17,7 +17,7 @@ static inline int rtnl_msg_family(const struct nlmsghdr *nlh) { - if (nlmsg_len(nlh) >= sizeof(struct rtgenmsg)) + if (nlmsg_len(nlh) >= (int)sizeof(struct rtgenmsg)) return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family; else return AF_UNSPEC;