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()); }