summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-29 22:43:36 +0200
committerMax Kellermann <max@duempel.org>2014-08-29 22:52:04 +0200
commit3158955198fbdc71319cd3418523d851e6d47106 (patch)
treeab3fff73fe7efa73ed95f9998eec5da66947b4e2 /test
parentd9d97bd17bf0d9469dcf00120d3d3fdab87299bc (diff)
TagHandler: pass SongTime to duration()
Diffstat (limited to 'test')
-rw-r--r--test/read_tags.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/read_tags.cxx b/test/read_tags.cxx
index f11b04f7a..67962062c 100644
--- a/test/read_tags.cxx
+++ b/test/read_tags.cxx
@@ -48,9 +48,9 @@
static bool empty = true;
static void
-print_duration(unsigned seconds, gcc_unused void *ctx)
+print_duration(SongTime duration, gcc_unused void *ctx)
{
- printf("duration=%d\n", seconds);
+ printf("duration=%f\n", duration.ToDoubleS());
}
static void