From 9427977bb5efee031b5001bd943c0efd8aa39276 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 14 Oct 2008 13:56:31 +0200 Subject: [PATCH] The interface flags are from type short --- include/rtnl.h | 2 +- src/rtnl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/rtnl.h b/include/rtnl.h index 57e8e07..fac302f 100644 --- a/include/rtnl.h +++ b/include/rtnl.h @@ -39,7 +39,7 @@ extern "C" { struct connman_rtnl { const char *name; int priority; - void (*link_flags) (int index, int flags); + void (*link_flags) (int index, short flags); }; extern int connman_rtnl_register(struct connman_rtnl *rtnl); diff --git a/src/rtnl.c b/src/rtnl.c index fca9d4f..6549488 100644 --- a/src/rtnl.c +++ b/src/rtnl.c @@ -86,7 +86,7 @@ void connman_rtnl_unregister(struct connman_rtnl *rtnl) g_static_rw_lock_writer_unlock(&rtnl_lock); } -static void process_link_flags(int index, int flags) +static void process_link_flags(int index, short flags) { GSList *list; -- 1.7.9.5