From 52819b7c94fa96ed184130e4e9a83f34ed91f607 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 25 May 2016 17:11:27 +0200 Subject: device: fix NM_DEVICE_GET_PRIVATE() macro Fixes: adbba0fb395b9910c4615e7be91ffe5b3ef70d6a --- src/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 906810956f..dfbf3ebbc8 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -73,7 +73,7 @@ _LOG_DECLARE_SELF (NMDevice); G_DEFINE_ABSTRACT_TYPE (NMDevice, nm_device, NM_TYPE_EXPORTED_OBJECT) -#define NM_DEVICE_GET_PRIVATE(o) \ +#define NM_DEVICE_GET_PRIVATE(self) \ ({ \ /* preserve the const-ness of self. Unfortunately, that * way, @self cannot be a void pointer */ \ -- cgit v1.2.1