From ef8fa9f6aaaaffb96b91efadd5456b6984926921 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 14 Sep 2022 20:36:13 +0200 Subject: [PATCH] device/adsl: make argument of callback for platform-changed-signal const --- src/core/devices/adsl/nm-device-adsl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/devices/adsl/nm-device-adsl.c b/src/core/devices/adsl/nm-device-adsl.c index 79705c28f0..fcd16b1ce8 100644 --- a/src/core/devices/adsl/nm-device-adsl.c +++ b/src/core/devices/adsl/nm-device-adsl.c @@ -214,12 +214,12 @@ error: } static void -link_changed_cb(NMPlatform *platform, - int obj_type_i, - int ifindex, - NMPlatformLink *info, - int change_type_i, - NMDeviceAdsl *self) +link_changed_cb(NMPlatform *platform, + int obj_type_i, + int ifindex, + const NMPlatformLink *info, + int change_type_i, + NMDeviceAdsl *self) { const NMPlatformSignalChangeType change_type = change_type_i;