summaryrefslogtreecommitdiffstats
path: root/libipulog
diff options
context:
space:
mode:
Diffstat (limited to 'libipulog')
-rw-r--r--libipulog/libipulog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libipulog/libipulog.c b/libipulog/libipulog.c
index eb2a747..8917bcc 100644
--- a/libipulog/libipulog.c
+++ b/libipulog/libipulog.c
@@ -68,7 +68,8 @@ static ssize_t
ipulog_netlink_recvfrom(const struct ipulog_handle *h,
unsigned char *buf, size_t len)
{
- int addrlen, status;
+ socklen_t addrlen;
+ int status;
struct nlmsghdr *nlh;
if (len < sizeof(struct nlmsgerr)) {