mirror of https://github.com/djcb/mu.git
* mu-cmd-index: fix some casting warnings
This commit is contained in:
parent
30ee022b04
commit
48affa6500
|
@ -114,10 +114,12 @@ index_msg_cb (MuIndexStats* stats, void *user_data)
|
|||
printf ("\b");
|
||||
|
||||
len = snprintf (output, sizeof(output),
|
||||
"%c processing mail; processed: %d; "
|
||||
"updated/new: %d, cleaned-up: %d",
|
||||
kars[i % 4], stats->_processed,
|
||||
stats->_updated, stats->_cleaned_up);
|
||||
"%c processing mail; processed: %u; "
|
||||
"updated/new: %u, cleaned-up: %u",
|
||||
(unsigned)kars[i % 4],
|
||||
(unsigned)stats->_processed,
|
||||
(unsigned)stats->_updated,
|
||||
(unsigned)stats->_cleaned_up);
|
||||
g_print ("%s", output);
|
||||
++i;
|
||||
|
||||
|
@ -249,8 +251,10 @@ mu_cmd_index (MuConfigOptions *opts)
|
|||
|
||||
mu_index_destroy (midx);
|
||||
|
||||
MU_WRITE_LOG ("processed: %d; updated/new: %d, cleaned-up: %d",
|
||||
stats._processed, stats._updated,stats._cleaned_up);
|
||||
MU_WRITE_LOG ("processed: %u; updated/new: %u, cleaned-up: %u",
|
||||
(unsigned)stats._processed,
|
||||
(unsigned)stats._updated,
|
||||
(unsigned)stats._cleaned_up);
|
||||
|
||||
if (!opts->quiet)
|
||||
g_print ("\n");
|
||||
|
|
Loading…
Reference in New Issue