summaryrefslogtreecommitdiff
path: root/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'iface.c')
-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;