summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-02-20 12:42:25 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-02-20 12:42:25 +0100
commitcd53a2b488f4107e48a80eb336e2b1001591246a (patch)
tree481890888f189655f2e95fe4c27f742562b17cd4
parenta7221722d100d3ecc4fad0692c98ebc71b044ba5 (diff)
iface: Proper types for arguments to iface_rtnl_enumerate()
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iface.c b/iface.c
index 489fa77..8c77c61 100644
--- a/iface.c
+++ b/iface.c
@@ -298,7 +298,7 @@ static int iface_nlmsg_process(const struct nlmsghdr *nlh, size_t len)
return 0;
}
-static int iface_rtnl_enumerate(int sock, int type, int family)
+static int iface_rtnl_enumerate(int sock, uint16_t type, unsigned char family)
{
struct {
struct nlmsghdr n;