Commit 624e7a44 authored by Max Kellermann's avatar Max Kellermann

stats: explicitly cast "time_t" to "long"

Fixes warning on mingw32.
parent ef40e362
...@@ -116,6 +116,6 @@ int stats_print(struct client *client) ...@@ -116,6 +116,6 @@ int stats_print(struct client *client)
(long)g_timer_elapsed(stats.timer, NULL), (long)g_timer_elapsed(stats.timer, NULL),
(long)(pc_get_total_play_time() + 0.5), (long)(pc_get_total_play_time() + 0.5),
stats.song_duration, stats.song_duration,
db_get_mtime()); (long)db_get_mtime());
return 0; return 0;
} }
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