Commit 7c8b73bf authored by Max Kellermann's avatar Max Kellermann

DatabasePrint: use unsigned counts

parent ae178c77
...@@ -169,14 +169,14 @@ db_selection_print(Client &client, const DatabaseSelection &selection, ...@@ -169,14 +169,14 @@ db_selection_print(Client &client, const DatabaseSelection &selection,
} }
struct SearchStats { struct SearchStats {
int numberOfSongs; unsigned numberOfSongs;
unsigned long playTime; unsigned long playTime;
}; };
static void printSearchStats(Client &client, SearchStats *stats) static void printSearchStats(Client &client, SearchStats *stats)
{ {
client_printf(client, "songs: %i\n", stats->numberOfSongs); client_printf(client, "songs: %u\n", stats->numberOfSongs);
client_printf(client, "playtime: %li\n", stats->playTime); client_printf(client, "playtime: %lu\n", stats->playTime);
} }
static bool static bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment