aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/db/DatabasePrint.cxx6
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