diff options
author | Max Kellermann <max@duempel.org> | 2014-04-24 18:06:26 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-04-24 18:06:26 +0200 |
commit | 7c8b73bffba40e9f1a64fa358bcd9d75d16f365d (patch) | |
tree | e9250346f948b0c054f478aa3ed620ed279bcdb8 | |
parent | ae178c77bdc47c954fd9a4b32ffc07fe6c4a8a49 (diff) | |
download | mpd-7c8b73bffba40e9f1a64fa358bcd9d75d16f365d.tar.gz mpd-7c8b73bffba40e9f1a64fa358bcd9d75d16f365d.tar.xz mpd-7c8b73bffba40e9f1a64fa358bcd9d75d16f365d.zip |
DatabasePrint: use unsigned counts
-rw-r--r-- | src/db/DatabasePrint.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/db/DatabasePrint.cxx b/src/db/DatabasePrint.cxx index d84c26590..539b9773f 100644 --- a/src/db/DatabasePrint.cxx +++ b/src/db/DatabasePrint.cxx @@ -169,14 +169,14 @@ db_selection_print(Client &client, const DatabaseSelection &selection, } struct SearchStats { - int numberOfSongs; + unsigned numberOfSongs; unsigned long playTime; }; static void printSearchStats(Client &client, SearchStats *stats) { - client_printf(client, "songs: %i\n", stats->numberOfSongs); - client_printf(client, "playtime: %li\n", stats->playTime); + client_printf(client, "songs: %u\n", stats->numberOfSongs); + client_printf(client, "playtime: %lu\n", stats->playTime); } static bool |