summaryrefslogtreecommitdiffstats
path: root/libipq
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-07-19 22:03:49 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-07-19 22:03:49 +0000
commit31c52205e0f4f5bb6fffcbd928f2975b0bad75d4 (patch)
tree1cc39b4ef12a42c15e5a21c8fff5a700b3a1dd6b /libipq
parent78939ef0a388762b6b6cff5aca7ea646d6cde24c (diff)
get rid of numerous gcc-4 warnings
Diffstat (limited to 'libipq')
-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)) {