diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-11-23 14:33:21 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-11-23 14:33:21 +0100 |
commit | d41dec3ed13c7a69c76fbaf124ce1e982756913c (patch) | |
tree | 7d4ea96e1a13c9c1e152bd336fa4d8a1699675ee /src/qmicli | |
parent | 672b77127a4d5e54e727cbba6f0d41bd2c1ee22c (diff) | |
download | external_libqmi-d41dec3ed13c7a69c76fbaf124ce1e982756913c.zip external_libqmi-d41dec3ed13c7a69c76fbaf124ce1e982756913c.tar.gz external_libqmi-d41dec3ed13c7a69c76fbaf124ce1e982756913c.tar.bz2 |
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);
Diffstat (limited to 'src/qmicli')
-rw-r--r-- | src/qmicli/qmicli-pdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmicli/qmicli-pdc.c b/src/qmicli/qmicli-pdc.c index e75b3d2..12006b7 100644 --- a/src/qmicli/qmicli-pdc.c +++ b/src/qmicli/qmicli-pdc.c @@ -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, |