diff --git a/Core/FileSystems/MetaFileSystem.cpp b/Core/FileSystems/MetaFileSystem.cpp index 5cb50c7e01..898af97f41 100644 --- a/Core/FileSystems/MetaFileSystem.cpp +++ b/Core/FileSystems/MetaFileSystem.cpp @@ -30,7 +30,7 @@ static bool ApplyPathStringToComponentsVector(std::vector &vector, while (start < len) { // TODO: This should only be done for ms0:/ etc. - size_t i = pathString.find_first_of('/\\', start); + size_t i = pathString.find_first_of("/\\", start); if (i == std::string::npos) i = len;