device: cast enum types for variadic g_signal_emit() function

This commit is contained in:
Thomas Haller 2017-03-06 12:23:23 +01:00 committed by Lubomir Rintel
parent 6da6318e88
commit 2e5ff63e1d

View file

@ -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 */