From d8eac290cf90ee69babf595d263d1af0c0024e77 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Thu, 13 May 2021 13:19:01 +0200 Subject: [PATCH] Fix Windows Build. --- src/ScriptResolving/AngelScript/AngelScriptResolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScriptResolving/AngelScript/AngelScriptResolver.cpp b/src/ScriptResolving/AngelScript/AngelScriptResolver.cpp index a589545..ba28d94 100644 --- a/src/ScriptResolving/AngelScript/AngelScriptResolver.cpp +++ b/src/ScriptResolving/AngelScript/AngelScriptResolver.cpp @@ -425,5 +425,5 @@ i32 AngelScriptResolver::IncludeCallback(const char* include, const char*, CScri if (!std::filesystem::exists(path)) { return -102; } - return builder->AddSectionFromFile(path.c_str()); + return builder->AddSectionFromFile((const char*)path.c_str()); }