stats: explicitly cast "time_t" to "long"

Fixes warning on mingw32.
This commit is contained in:
Max Kellermann 2011-11-27 20:07:10 +01:00
parent ef40e362c9
commit 624e7a447d

View File

@ -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;
} }