qmicli,pdc: use correct identifier to print gsize

qmicli-pdc.c: In function 'load_config_input_create_chunk':
    qmicli-pdc.c:1022:14: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'gsize {aka unsigned int}' [-Werror=format=]
         g_debug ("Uploaded %lu of %lu\n", config_file->offset, full_size);
This commit is contained in:
Aleksander Morgado 2016-11-23 14:33:21 +01:00
parent 672b77127a
commit d41dec3ed1
1 changed files with 1 additions and 1 deletions

View File

@ -1019,7 +1019,7 @@ load_config_input_create_chunk (LoadConfigFileData *config_file)
file_content = (guint8 *) g_mapped_file_get_contents (config_file->mapped_file);
g_array_append_vals (chunk, &file_content[config_file->offset], chunk_size);
g_debug ("Uploaded %lu of %lu\n", config_file->offset, full_size);
g_debug ("Uploaded %" G_GSIZE_FORMAT " of %" G_GSIZE_FORMAT "\n", config_file->offset, full_size);
if (!qmi_message_pdc_load_config_input_set_config_chunk (input,
QMI_PDC_CONFIGURATION_TYPE_SOFTWARE,