src/filemanager/find.c: cleanup -Wformat-signedness warning.
commitf3bcc33f917ffd51a350b8a0811ff12c004c3417
authorAndreas Mohr <and@gmx.li>
Sat, 17 Sep 2016 12:05:30 +0000 (17 12:05 +0000)
committerAndrew Borodin <aborodin@vmail.ru>
Mon, 21 Nov 2016 10:12:48 +0000 (21 13:12 +0300)
treec5ddfd5da4b62475ae284ba69c97285c64e7fb8d
parentfeb258199178db18e06b3aa13435da5104c9a156
src/filemanager/find.c: cleanup -Wformat-signedness warning.

find.c: In function 'found_num_update':
find.c:373:44: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'long unsigned int' [-Werror=format=]
     g_snprintf (buffer, sizeof (buffer), _("Found: %ld"), matches);
                                            ^

find.c: In function 'do_search':
find.c:1306:51: error: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'size_t {aka long unsigned int}' [-Werror=format=]
                                                   "Finished (ignored %zd directories)",
                                                   ^
find.c:1305:51: error: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'size_t {aka long unsigned int}' [-Werror=format=]
                                         ngettext ("Finished (ignored %zd directory)",
                                                   ^

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>
src/filemanager/find.c