summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-05-31 17:33:05 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-05-31 17:33:05 +0200
commit879a8177fca94a98a69a7c2f899d09a3c9843c5b (patch)
treec87ec9ab01bce2f7cfdd5f92f44161a30752b0c4
parentfb1cf3ede69b9d21f5e655e4ed1649f2917557f9 (diff)
fix warning, getsockname takes a socklen_t as third parameterlibnfnetlink-0.0.38
-rw-r--r--src/rtnl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtnl.c b/src/rtnl.c
index 29fc184..93820f1 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -196,7 +196,7 @@ int rtnl_receive(struct rtnl_handle *rtnl_handle)
/* rtnl_open - constructor of rtnetlink module */
struct rtnl_handle *rtnl_open(void)
{
- size_t addrlen;
+ socklen_t addrlen;
struct rtnl_handle *h;
h = calloc(1, sizeof(struct rtnl_handle));