From cd53a2b488f4107e48a80eb336e2b1001591246a Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 20 Feb 2015 12:42:25 +0100 Subject: iface: Proper types for arguments to iface_rtnl_enumerate() Signed-off-by: Tobias Klauser --- iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-54-g00ecf