Commit 042fe2a9 authored by Max Kellermann's avatar Max Kellermann

Stats: print more unsigned integers

parent ff1c1107
...@@ -72,15 +72,15 @@ stats_print(Client &client) ...@@ -72,15 +72,15 @@ stats_print(Client &client)
client_printf(client, client_printf(client,
"artists: %u\n" "artists: %u\n"
"albums: %u\n" "albums: %u\n"
"songs: %i\n" "songs: %u\n"
"uptime: %li\n" "uptime: %lu\n"
"playtime: %li\n" "playtime: %lu\n"
"db_playtime: %li\n", "db_playtime: %lu\n",
stats.artist_count, stats.artist_count,
stats.album_count, stats.album_count,
stats.song_count, stats.song_count,
(long)g_timer_elapsed(uptime, NULL), (unsigned long)g_timer_elapsed(uptime, NULL),
(long)(client.player_control.GetTotalPlayTime() + 0.5), (unsigned long)(client.player_control.GetTotalPlayTime() + 0.5),
stats.total_duration); stats.total_duration);
if (db_is_simple()) if (db_is_simple())
......
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