summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-03-06 12:23:23 +0100
committerLubomir Rintel <lkundrak@v3.sk>2017-03-17 10:21:19 +0100
commit2e5ff63e1de54849c9bddaae0318e6d9441761de (patch)
tree73ab02c4678193179226016f0930d382b2fcaabe /src
parent6da6318e8839df3d5d5b5cab65c1ac75ab76bb5f (diff)
device: cast enum types for variadic g_signal_emit() function
Diffstat (limited to 'src')
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 802900f5b..5cd8ca0f1 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -12192,7 +12192,7 @@ _set_state_full (NMDevice *self,
_notify (self, PROP_STATE);
_notify (self, PROP_STATE_REASON);
- g_signal_emit (self, signals[STATE_CHANGED], 0, state, old_state, reason);
+ g_signal_emit (self, signals[STATE_CHANGED], 0, (guint) state, (guint) old_state, (guint) reason);
/* Post-process the event after internal notification */