aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-location.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-modem-location.c')
-rw-r--r--src/mm-modem-location.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-modem-location.c b/src/mm-modem-location.c
index 2dadd4ed..130425ef 100644
--- a/src/mm-modem-location.c
+++ b/src/mm-modem-location.c
@@ -137,7 +137,7 @@ impl_modem_location_enable (MMModemLocation *modem,
if (!mm_modem_auth_request (MM_MODEM (modem),
MM_AUTHORIZATION_LOCATION,
context,
- loc_enable_auth_cb,
+ (MMAuthRequestCb)loc_enable_auth_cb,
info,
loc_auth_info_destroy,
&error)) {
@@ -232,7 +232,7 @@ impl_modem_location_get_location (MMModemLocation *modem,
if (!mm_modem_auth_request (MM_MODEM (modem),
MM_AUTHORIZATION_LOCATION,
context,
- loc_get_auth_cb,
+ (MMAuthRequestCb)loc_get_auth_cb,
info,
loc_auth_info_destroy,
&error)) {