]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4329] Fix Wsign-compare in iface_mgr_linux.cc
authorAndrei Pavel <andrei@isc.org>
Mon, 16 Feb 2026 17:25:40 +0000 (19:25 +0200)
committerAndrei Pavel <andrei@isc.org>
Mon, 16 Feb 2026 17:25:40 +0000 (19:25 +0200)
src/lib/dhcp/iface_mgr_linux.cc

index e0a881bec644ccb49ddd0085b1a0dd08bed6de24..c55a2f189216ec86bb44db84d8ef33a25e0954f5 100644 (file)
@@ -346,7 +346,7 @@ void Netlink::rtnl_process_reply(NetlinkMessages& info) {
         }
 
         nlmsghdr* header = static_cast<nlmsghdr*>(static_cast<void*>(buf));
-        while (NLMSG_OK(header, status)) {
+        while (NLMSG_OK(header, static_cast<unsigned int>(status))) {
 
             // Received a message not addressed to our process, or not
             // with a sequence number we are expecting.  Ignore, and