summaryrefslogtreecommitdiff
path: root/llmnr.c
diff options
context:
space:
mode:
Diffstat (limited to 'llmnr.c')
-rw-r--r--llmnr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/llmnr.c b/llmnr.c
index f08c5d1..b3b2835 100644
--- a/llmnr.c
+++ b/llmnr.c
@@ -45,7 +45,8 @@ static bool llmnr_running = true;
*/
static char llmnr_hostname[LLMNR_LABEL_MAX_SIZE + 2];
-static void llmnr_iface_event_handle(enum iface_event_type type, int af, unsigned int ifindex)
+static void llmnr_iface_event_handle(enum iface_event_type type, unsigned char af,
+ unsigned int ifindex)
{
switch (af) {
case AF_INET: