aboutsummaryrefslogtreecommitdiffstats
path: root/test/dump_rva2.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-26 15:14:54 +0200
committerMax Kellermann <max@duempel.org>2013-10-26 15:38:29 +0200
commita40246d3123d4bd0d1be638cd7f7b91274d8f23d (patch)
treed1384fdce2b186c00b4697d5475c97bf4dbc4b41 /test/dump_rva2.cxx
parent4a5aad0948eb782ec6b74a1f038c0e5635c1bb9b (diff)
downloadmpd-a40246d3123d4bd0d1be638cd7f7b91274d8f23d.tar.gz
mpd-a40246d3123d4bd0d1be638cd7f7b91274d8f23d.tar.xz
mpd-a40246d3123d4bd0d1be638cd7f7b91274d8f23d.zip
TagFile: use Path instead of const char *
Diffstat (limited to '')
-rw-r--r--test/dump_rva2.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dump_rva2.cxx b/test/dump_rva2.cxx
index 3d47431ec..e1ba5336a 100644
--- a/test/dump_rva2.cxx
+++ b/test/dump_rva2.cxx
@@ -23,6 +23,7 @@
#include "ReplayGainInfo.hxx"
#include "ConfigGlobal.hxx"
#include "util/Error.hxx"
+#include "fs/Path.hxx"
#include <id3tag.h>
@@ -56,7 +57,7 @@ int main(int argc, char **argv)
const char *path = argv[1];
Error error;
- struct id3_tag *tag = tag_id3_load(path, error);
+ struct id3_tag *tag = tag_id3_load(Path::FromFS(path), error);
if (tag == NULL) {
if (error.IsDefined())
g_printerr("%s\n", error.GetMessage());