summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));