diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-31 17:33:05 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-31 17:33:05 +0200 |
commit | 879a8177fca94a98a69a7c2f899d09a3c9843c5b (patch) | |
tree | c87ec9ab01bce2f7cfdd5f92f44161a30752b0c4 /src/rtnl.c | |
parent | fb1cf3ede69b9d21f5e655e4ed1649f2917557f9 (diff) |
fix warning, getsockname takes a socklen_t as third parameterlibnfnetlink-0.0.38
Diffstat (limited to 'src/rtnl.c')
-rw-r--r-- | src/rtnl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |