diff options
Diffstat (limited to 'src/qmicli/qmicli-dms.c')
-rw-r--r-- | src/qmicli/qmicli-dms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmicli/qmicli-dms.c b/src/qmicli/qmicli-dms.c index 1a5cdf7..12526a6 100644 --- a/src/qmicli/qmicli-dms.c +++ b/src/qmicli/qmicli-dms.c @@ -2834,12 +2834,12 @@ select_stored_image_ready (QmiClientDms *client, if (qmi_message_dms_set_firmware_preference_output_get_image_download_list (output, &array, &error)) { guint i; GString *images; - QmiDmsFirmwareImageType *type; + QmiDmsFirmwareImageType type; images = g_string_new (""); for (i = 0; i < array->len; i++) { - type = &g_array_index (array, QmiDmsFirmwareImageType, i); - g_string_append (images, qmi_dms_firmware_image_type_get_string (*type)); + type = g_array_index (array, QmiDmsFirmwareImageType, i); + g_string_append (images, qmi_dms_firmware_image_type_get_string (type)); if (i < array->len -1) g_string_append (images, ", "); } |