From efa8fc2123a2a9fc229ab471edd2b2688ce1da3a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 19 Jul 2005 22:03:49 +0000 Subject: get rid of numerous gcc-4 warnings --- libipq/libipq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libipq') diff --git a/libipq/libipq.c b/libipq/libipq.c index a25ad4ce..658af975 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)) { -- cgit v1.2.3