Fix build warnings 62/305962/1 accepted/tizen/7.0/unified/20240215.160539
authorJaehyun Kim <jeik01.kim@samsung.com>
Wed, 14 Feb 2024 07:48:01 +0000 (16:48 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Wed, 14 Feb 2024 07:48:01 +0000 (16:48 +0900)
Change-Id: I94cbd056deb226561f057613454417f497bf94a1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
include/technology.h
plugins/wifi.c
src/technology.c

index b522ad2..777e307 100755 (executable)
@@ -95,7 +95,7 @@ void __connman_technology_notify_scan_done(const char *ifname, int val);
 void __connman_technology_append_interfaces(DBusMessageIter *array,
                                enum connman_service_type type, const char *ifname);
 void __connman_technology_notify_device_detected_by_device(
-               struct connman_device *device, const char *ifname, bool val);
+               void *detected_device, const char *ifname, bool val);
 void __connman_technology_notify_roaming_state(const char *ifname,
                const char *state, const char *cur_bssid, const char *dst_bssid);
 #endif
index 1bc8faa..3683714 100755 (executable)
@@ -5553,7 +5553,7 @@ static void check_specific_scan_ssids(struct wifi_data *wifi,
                struct scan_ssid *scan_ssid = list->data;
                struct connman_service *service;
 
-               if (g_strcmp0(name, scan_ssid->ssid) != 0)
+               if (g_strcmp0(name, (char *)scan_ssid->ssid) != 0)
                        continue;
 
                service = connman_service_lookup_from_network(network);
index ce01802..1465cc5 100644 (file)
@@ -1676,10 +1676,11 @@ static void __connman_technology_notify_device_detected(
 }
 
 void __connman_technology_notify_device_detected_by_device(
-               struct connman_device *device, const char *ifname, bool val)
+               void *detected_device, const char *ifname, bool val)
 {
        struct connman_technology *technology;
        enum connman_service_type type;
+       struct connman_device *device = detected_device;
 
        type = __connman_device_get_service_type(device);