diff options
Diffstat (limited to 'libipulog')
-rw-r--r-- | libipulog/libipulog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libipulog/libipulog.c b/libipulog/libipulog.c index 6b7ea35..2f58ea6 100644 --- a/libipulog/libipulog.c +++ b/libipulog/libipulog.c @@ -96,7 +96,7 @@ ipulog_netlink_recvfrom(const struct ipulog_handle *h, return -1; } nlh = (struct nlmsghdr *)buf; - if (nlh->nlmsg_flags & MSG_TRUNC || status > len) { + if (nlh->nlmsg_flags & MSG_TRUNC || (size_t) status > len) { ipulog_errno = IPULOG_ERR_TRUNC; return -1; } |