diff options
author | Max Kellermann <max@duempel.org> | 2013-11-22 00:23:27 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-22 00:23:27 +0100 |
commit | 042fe2a9d0e34d74e26aeedc1d1fd73f784c1afe (patch) | |
tree | 3f0bdf53155abe552d81edaf6041f5ec1d8a0fa5 /src/Stats.cxx | |
parent | ff1c1107f3a7ad0cfbdfefbe26f2f5e1cb9b00c5 (diff) | |
download | mpd-042fe2a9d0e34d74e26aeedc1d1fd73f784c1afe.tar.gz mpd-042fe2a9d0e34d74e26aeedc1d1fd73f784c1afe.tar.xz mpd-042fe2a9d0e34d74e26aeedc1d1fd73f784c1afe.zip |
Stats: print more unsigned integers
Diffstat (limited to 'src/Stats.cxx')
-rw-r--r-- | src/Stats.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Stats.cxx b/src/Stats.cxx index 8f9d90b0f..8e39c8dfa 100644 --- a/src/Stats.cxx +++ b/src/Stats.cxx @@ -72,15 +72,15 @@ stats_print(Client &client) client_printf(client, "artists: %u\n" "albums: %u\n" - "songs: %i\n" - "uptime: %li\n" - "playtime: %li\n" - "db_playtime: %li\n", + "songs: %u\n" + "uptime: %lu\n" + "playtime: %lu\n" + "db_playtime: %lu\n", stats.artist_count, stats.album_count, stats.song_count, - (long)g_timer_elapsed(uptime, NULL), - (long)(client.player_control.GetTotalPlayTime() + 0.5), + (unsigned long)g_timer_elapsed(uptime, NULL), + (unsigned long)(client.player_control.GetTotalPlayTime() + 0.5), stats.total_duration); if (db_is_simple()) |