From 6624660b0d0c378dd9fb0a8e143f61ea7fc9f10e Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 17 Oct 2020 17:05:43 +1000 Subject: [PATCH] Common/FileSystem: Fix a compile error on macOS --- src/common/file_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/file_system.cpp b/src/common/file_system.cpp index 5e846705b..addb88acd 100644 --- a/src/common/file_system.cpp +++ b/src/common/file_system.cpp @@ -1306,7 +1306,7 @@ static u32 RecursiveFindFiles(const char* OriginPath, const char* ParentPath, co // TODO string formatter, clean this mess.. if (!(Flags & FILESYSTEM_FIND_RELATIVE_PATHS)) { - outData.FileName = std::string(full_path); + outData.FileName = std::string(full_path.GetCharArray()); } else {