From 624e7a447d5cdf38e176acad0ef2ec6543397f46 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 27 Nov 2011 20:07:10 +0100 Subject: stats: explicitly cast "time_t" to "long" Fixes warning on mingw32. --- src/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats.c b/src/stats.c index 673d531ec..718d8633a 100644 --- a/src/stats.c +++ b/src/stats.c @@ -116,6 +116,6 @@ int stats_print(struct client *client) (long)g_timer_elapsed(stats.timer, NULL), (long)(pc_get_total_play_time() + 0.5), stats.song_duration, - db_get_mtime()); + (long)db_get_mtime()); return 0; } -- cgit v1.2.3