aboutsummaryrefslogtreecommitdiffstats
path: root/src/Stats.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Stats.cxx')
-rw-r--r--src/Stats.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Stats.cxx b/src/Stats.cxx
index 463937b48..4c488e85e 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -65,7 +65,7 @@ void stats_update(void)
}
void
-stats_print(Client *client)
+stats_print(Client &client)
{
client_printf(client,
"artists: %u\n"
@@ -78,7 +78,7 @@ stats_print(Client *client)
stats.album_count,
stats.song_count,
(long)g_timer_elapsed(stats.timer, NULL),
- (long)(client->player_control->GetTotalPlayTime() + 0.5),
+ (long)(client.player_control.GetTotalPlayTime() + 0.5),
stats.song_duration);
if (db_is_simple())