(dirsize_status_update_cb): cleanup -Wformat-signedness warning.

file.c:2526:41: error: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka long unsigned int}' [-Werror=format=]
     label_set_textv (dsm->count_size, _("Directories: %zd, total size: %s"),
                                         ^

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2016-09-17 12:05:41 +00:00 committed by Andrew Borodin
parent 9ee93df098
commit feb2581991

View File

@ -2523,7 +2523,7 @@ dirsize_status_update_cb (status_msg_t * sm)
Widget *wd = WIDGET (sm->dlg);
/* update second (longer label) */
label_set_textv (dsm->count_size, _("Directories: %zd, total size: %s"),
label_set_textv (dsm->count_size, _("Directories: %zu, total size: %s"),
dsm->dir_count, size_trunc_sep (dsm->total_size, panels_options.kilobyte_si));
/* enlarge dialog if required */