aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagId3.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-05 08:02:07 +0100
committerMax Kellermann <max@duempel.org>2015-03-05 08:58:04 +0100
commit39c96694454822ade1d3a686f6e29bd52fa5a4d1 (patch)
treec4a9c64a84c09caa9d0d8057a5a71be53536dcb7 /src/tag/TagId3.cxx
parent44565e22a054b9bdeb48e79e1d23f914b7efaa0f (diff)
downloadmpd-39c96694454822ade1d3a686f6e29bd52fa5a4d1.tar.gz
mpd-39c96694454822ade1d3a686f6e29bd52fa5a4d1.tar.xz
mpd-39c96694454822ade1d3a686f6e29bd52fa5a4d1.zip
fs/Traits: add macro PATH_LITERAL()
Diffstat (limited to '')
-rw-r--r--src/tag/TagId3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag/TagId3.cxx b/src/tag/TagId3.cxx
index ade1fd007..98f85daff 100644
--- a/src/tag/TagId3.cxx
+++ b/src/tag/TagId3.cxx
@@ -521,7 +521,7 @@ tag_id3_riff_aiff_load(FILE *file)
struct id3_tag *
tag_id3_load(Path path_fs, Error &error)
{
- FILE *file = FOpen(path_fs, "rb");
+ FILE *file = FOpen(path_fs, PATH_LITERAL("rb"));
if (file == nullptr) {
error.FormatErrno("Failed to open file %s", path_fs.c_str());
return nullptr;