Fix build warnings 44/243944/1
authorJaehyun Kim <jeik01.kim@samsung.com>
Fri, 11 Sep 2020 08:29:38 +0000 (17:29 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Fri, 11 Sep 2020 08:29:38 +0000 (17:29 +0900)
Change-Id: I43c65427f5b6e0eb003ac3c17c012cd9b7db0f76
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
plugins/wifi.c
src/service.c
src/technology.c

index a1da41949543948560d5587577513a0ac43dac73..d532e935281c681b87dc4de44db66e1ad35db176 100755 (executable)
@@ -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) {
index b130888b9ae15a7cdac24e1318553a72b0f24b85..da60efc23c070b20de9e6003c97b95c4e106dd6a 100755 (executable)
@@ -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,
index e9e4cd612a23387a66d56f46df2a3b8e3f029627..39b0cfaa1a1ef1309cf3085d785dbe8472b2fc9a 100644 (file)
@@ -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;