From 7c8b73bffba40e9f1a64fa358bcd9d75d16f365d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 24 Apr 2014 18:06:26 +0200 Subject: DatabasePrint: use unsigned counts --- src/db/DatabasePrint.cxx | 6 +++--- 1 file 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 -- cgit v1.2.3