diff options
-rw-r--r-- | plugins/xmm/mm-shared-xmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xmm/mm-shared-xmm.c b/plugins/xmm/mm-shared-xmm.c index 60457589..746aff36 100644 --- a/plugins/xmm/mm-shared-xmm.c +++ b/plugins/xmm/mm-shared-xmm.c @@ -509,7 +509,7 @@ validate_and_build_command_set_current_bands (MMSharedXmm *self, if (unapplied_bands->len > 0) { gchar *str; - str = mm_common_build_bands_string ((const MMModemBand *)unapplied_bands->data, unapplied_bands->len); + str = mm_common_build_bands_string ((const MMModemBand *)(gconstpointer)unapplied_bands->data, unapplied_bands->len); inner_error = g_error_new (MM_CORE_ERROR, MM_CORE_ERROR_INVALID_ARGS, "Cannot update bands for modes not currently allowed: %s", str); g_free (str); |