aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-09-18 21:23:05 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-09-18 21:23:05 -0700
commitbb5cd9b4e20e4c4657e01dd2abeaf1946067e2cb (patch)
tree7cc80ca920a04994d2f43fec145be4dff98e29bf
parentf710278b3dc5fb8dbbad37147eb4920ab75fcb6e (diff)
option: remove unneeded explicit casts
-rw-r--r--plugins/option/mm-broadband-modem-option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/option/mm-broadband-modem-option.c b/plugins/option/mm-broadband-modem-option.c
index d5882352..5622f0cf 100644
--- a/plugins/option/mm-broadband-modem-option.c
+++ b/plugins/option/mm-broadband-modem-option.c
@@ -218,13 +218,13 @@ set_current_modes_finish (MMIfaceModem *self,
}
static void
-allowed_mode_update_ready (MMBroadbandModemOption *self,
+allowed_mode_update_ready (MMBaseModem *self,
GAsyncResult *res,
GTask *task)
{
GError *error = NULL;
- mm_base_modem_at_command_finish (MM_BASE_MODEM (self), res, &error);
+ mm_base_modem_at_command_finish (self, res, &error);
if (error)
/* Let the error be critical. */
g_task_return_error (task, error);