summaryrefslogtreecommitdiff
path: root/src/PlaylistFile.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/PlaylistFile.cxx
parent44565e22a054b9bdeb48e79e1d23f914b7efaa0f (diff)
fs/Traits: add macro PATH_LITERAL()
Diffstat (limited to 'src/PlaylistFile.cxx')
-rw-r--r--src/PlaylistFile.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PlaylistFile.cxx b/src/PlaylistFile.cxx
index 0ebb232e5..791b2f2ed 100644
--- a/src/PlaylistFile.cxx
+++ b/src/PlaylistFile.cxx
@@ -174,7 +174,8 @@ LoadPlaylistFileInfo(PlaylistInfo &info,
const auto *const name_fs_str = name_fs.c_str();
const auto *const name_fs_end =
- FindStringSuffix(name_fs_str, PLAYLIST_FILE_SUFFIX);
+ FindStringSuffix(name_fs_str,
+ PATH_LITERAL(PLAYLIST_FILE_SUFFIX));
if (name_fs_end == nullptr)
return false;