diff options
author | Thomas Haller <thaller@redhat.com> | 2017-03-06 12:23:23 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2017-03-17 10:21:19 +0100 |
commit | 2e5ff63e1de54849c9bddaae0318e6d9441761de (patch) | |
tree | 73ab02c4678193179226016f0930d382b2fcaabe /src | |
parent | 6da6318e8839df3d5d5b5cab65c1ac75ab76bb5f (diff) |
device: cast enum types for variadic g_signal_emit() function
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/nm-device.c | 2 |
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 */ |