mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 05:10:09 +01:00
wifi/iwd: fix compiler warning about pointer cast in powered_changed()
../src/devices/wifi/nm-device-iwd.c: In function ‘powered_changed’:
../src/devices/wifi/nm-device-iwd.c:2336:15: warning: assignment from incompatible pointer type [enabled by default]
interface = g_object_ref (priv->dbus_device_proxy);
^
This commit is contained in:
parent
9a4cd1efd1
commit
1423ad24c0
1 changed files with 1 additions and 1 deletions
|
|
@ -2333,7 +2333,7 @@ powered_changed (NMDeviceIwd *self, gboolean new_powered)
|
|||
value = g_dbus_proxy_get_cached_property (priv->dbus_device_proxy, "State");
|
||||
if (value) {
|
||||
g_variant_unref (value);
|
||||
interface = g_object_ref (priv->dbus_device_proxy);
|
||||
interface = g_object_ref (G_DBUS_INTERFACE (priv->dbus_device_proxy));
|
||||
} else {
|
||||
_LOGE (LOGD_WIFI, "Interface %s not found on obj %s",
|
||||
NM_IWD_STATION_INTERFACE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue