From 39c96694454822ade1d3a686f6e29bd52fa5a4d1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Mar 2015 08:02:07 +0100 Subject: fs/Traits: add macro PATH_LITERAL() --- src/PlaylistFile.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/PlaylistFile.cxx') 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; -- cgit v1.2.3