diff options
Diffstat (limited to 'libipulog/libipulog.c')
-rw-r--r-- | libipulog/libipulog.c | 3 |
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)) { |