From 6ad933982f68f5fcbd1b3179bf5fed26f63aa792 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 28 Aug 2014 06:54:19 +0200 Subject: DetachedSong: use std::chrono::duration for start_ms and end_ms --- src/SongPrint.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SongPrint.cxx') diff --git a/src/SongPrint.cxx b/src/SongPrint.cxx index c2501d037..d14eea417 100644 --- a/src/SongPrint.cxx +++ b/src/SongPrint.cxx @@ -97,8 +97,8 @@ song_print_info(Client &client, const DetachedSong &song, bool base) { song_print_uri(client, song, base); - const unsigned start_ms = song.GetStartMS(); - const unsigned end_ms = song.GetEndMS(); + const unsigned start_ms = song.GetStartTime().ToMS(); + const unsigned end_ms = song.GetEndTime().ToMS(); if (end_ms > 0) client_printf(client, "Range: %u.%03u-%u.%03u\n", -- cgit v1.2.3