summaryrefslogtreecommitdiffstats
path: root/libipq/libipq.c
diff options
context:
space:
mode:
Diffstat (limited to 'libipq/libipq.c')
-rw-r--r--libipq/libipq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libipq/libipq.c b/libipq/libipq.c
index a25ad4c..658af97 100644
--- a/libipq/libipq.c
+++ b/libipq/libipq.c
@@ -122,7 +122,8 @@ static ssize_t ipq_netlink_recvfrom(const struct ipq_handle *h,
unsigned char *buf, size_t len,
int timeout)
{
- int addrlen, status;
+ unsigned int addrlen;
+ int status;
struct nlmsghdr *nlh;
if (len < sizeof(struct nlmsgerr)) {