mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
(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:
parent
9ee93df098
commit
feb2581991
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user