Common/FileSystem: Fix a compile error on macOS

This commit is contained in:
Connor McLaughlin 2020-10-17 17:05:43 +10:00
parent d3f87dc357
commit 6624660b0d

View file

@ -1306,7 +1306,7 @@ static u32 RecursiveFindFiles(const char* OriginPath, const char* ParentPath, co
// TODO string formatter, clean this mess.. // TODO string formatter, clean this mess..
if (!(Flags & FILESYSTEM_FIND_RELATIVE_PATHS)) if (!(Flags & FILESYSTEM_FIND_RELATIVE_PATHS))
{ {
outData.FileName = std::string(full_path); outData.FileName = std::string(full_path.GetCharArray());
} }
else else
{ {