aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mm-iface-modem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index 433dbaca..77c9c657 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -304,7 +304,7 @@ load_unlock_required_ready (MMIfaceModem *self,
}
/* Got the lock value, return it */
- g_simple_async_result_set_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (ctx->result),
+ g_simple_async_result_set_op_res_gpointer (ctx->result,
GUINT_TO_POINTER (lock),
NULL);
internal_load_unlock_required_context_complete_and_free (ctx);