X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=libipq%2Flibipq.c;fp=libipq%2Flibipq.c;h=658af9755dc1af03bf6070b4ec9732ba622ac864;hb=782ed68bce7c9b3cc29eb4351ec13ede40a7ee49;hp=a25ad4ceccfcf9670fdb5d0496f29de2dc26ca37;hpb=2e293f94e43325cb8cc719e27b43e647842c046d;p=iptables.git 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)) {