diff options
author | Max Kellermann <max@duempel.org> | 2011-11-27 20:07:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-11-27 20:07:14 +0100 |
commit | 624e7a447d5cdf38e176acad0ef2ec6543397f46 (patch) | |
tree | 0be106ce999607bb50a173b29f461458d9385eb1 | |
parent | ef40e362c9f622c8840419981c0681deeaf4509f (diff) | |
download | mpd-624e7a447d5cdf38e176acad0ef2ec6543397f46.tar.gz mpd-624e7a447d5cdf38e176acad0ef2ec6543397f46.tar.xz mpd-624e7a447d5cdf38e176acad0ef2ec6543397f46.zip |
stats: explicitly cast "time_t" to "long"
Fixes warning on mingw32.
-rw-r--r-- | src/stats.c | 2 |
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; } |