diff options
Diffstat (limited to 'src/network/kernel/qnetworkinterface_linux.cpp')
-rw-r--r-- | src/network/kernel/qnetworkinterface_linux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qnetworkinterface_linux.cpp b/src/network/kernel/qnetworkinterface_linux.cpp index 620ee7202b..3211d1b8d8 100644 --- a/src/network/kernel/qnetworkinterface_linux.cpp +++ b/src/network/kernel/qnetworkinterface_linux.cpp @@ -158,7 +158,7 @@ template <typename Lambda> struct ProcessNetlinkRequest void operator()(int sock, nlmsghdr *hdr, char *buf, size_t bufsize, Lambda &&func) { // send the request - if (send(sock, hdr, hdr->nlmsg_len, 0) != hdr->nlmsg_len) + if (send(sock, hdr, hdr->nlmsg_len, 0) != ssize_t(hdr->nlmsg_len)) return; // receive and parse the request |