diff options
author | Jaehyun Kim <jeik01.kim@samsung.com> | 2020-09-11 17:29:38 +0900 |
---|---|---|
committer | Jaehyun Kim <jeik01.kim@samsung.com> | 2020-09-11 17:29:38 +0900 |
commit | a0d511db71460d6bd1c1685613e511772c886a4a (patch) | |
tree | d824c712dae70c9cd61b28781ab84d923b4c9437 | |
parent | 9df9c90dff56b830464b7a5262b4101e31704777 (diff) | |
download | connman-a0d511db71460d6bd1c1685613e511772c886a4a.tar.gz connman-a0d511db71460d6bd1c1685613e511772c886a4a.tar.bz2 connman-a0d511db71460d6bd1c1685613e511772c886a4a.zip |
Fix build warnings
Change-Id: I43c65427f5b6e0eb003ac3c17c012cd9b7db0f76
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
-rwxr-xr-x | plugins/wifi.c | 2 | ||||
-rwxr-xr-x | src/service.c | 2 | ||||
-rw-r--r-- | src/technology.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index a1da4194..d532e935 100755 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -3397,7 +3397,7 @@ static void connect_callback(int result, GSupplicantInterface *interface, DBG("network %p result %d", network, result); #if defined TIZEN_EXT - char *ifname = g_supplicant_interface_get_ifname(interface); + const char *ifname = g_supplicant_interface_get_ifname(interface); set_connman_bssid(RESET_BSSID, NULL, ifname); for (list = iface_list; list; list = list->next) { diff --git a/src/service.c b/src/service.c index b130888b..da60efc2 100755 --- a/src/service.c +++ b/src/service.c @@ -6356,7 +6356,7 @@ static bool auto_connect_service(GList *services, bool autoconnecting = false; GList *list; #if defined TIZEN_EXT - GList *wifi_ignore = NULL; + GSList *wifi_ignore = NULL; #endif DBG("preferred %d sessions %d reason %s", preferred, active_count, diff --git a/src/technology.c b/src/technology.c index e9e4cd61..39b0cfaa 100644 --- a/src/technology.c +++ b/src/technology.c @@ -1302,7 +1302,7 @@ static void reply_scan_pending_device( dbus_bool_t status = 0; connman_scan_type_e scan_type = CONNMAN_SCAN_TYPE_UNKNOWN; - DBG("technology %p ifname %d count %d", technology, ifname, count); + DBG("technology %p ifname %s count %d", technology, ifname, count); list = technology->scan_pending; |