aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-11-27 20:07:10 +0100
committerMax Kellermann <max@duempel.org>2011-11-27 20:07:14 +0100
commit624e7a447d5cdf38e176acad0ef2ec6543397f46 (patch)
tree0be106ce999607bb50a173b29f461458d9385eb1 /src/stats.c
parentef40e362c9f622c8840419981c0681deeaf4509f (diff)
downloadmpd-624e7a447d5cdf38e176acad0ef2ec6543397f46.tar.gz
mpd-624e7a447d5cdf38e176acad0ef2ec6543397f46.tar.xz
mpd-624e7a447d5cdf38e176acad0ef2ec6543397f46.zip
stats: explicitly cast "time_t" to "long"
Fixes warning on mingw32.
Diffstat (limited to '')
-rw-r--r--src/stats.c2
1 files changed, 1 insertions, 1 deletions
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;
}