summaryrefslogtreecommitdiff
path: root/ZAPD/ZArray.cpp
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2023-04-30 21:23:26 -0400
committerGitHub <noreply@github.com>2023-04-30 21:23:26 -0400
commit0e6ab4ab9f9a7bf3f5d52407db4873f0d35697e4 (patch)
treee82b20f2c6e2f1e38efcf5a6bc62c5794f6087b7 /ZAPD/ZArray.cpp
parent35d6c0c852722b0edb063cb9a8ad74de22bd2524 (diff)
Fixed issue with include paths on Windows (#284)
Diffstat (limited to 'ZAPD/ZArray.cpp')
-rw-r--r--ZAPD/ZArray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZArray.cpp b/ZAPD/ZArray.cpp
index 0a9797b..28d35f3 100644
--- a/ZAPD/ZArray.cpp
+++ b/ZAPD/ZArray.cpp
@@ -75,7 +75,7 @@ Declaration* ZArray::DeclareVar(const std::string& prefix, const std::string& bo
if (res->IsExternalResource())
{
auto filepath = Globals::Instance->outputPath / name;
- std::string includePath = StringHelper::Sprintf("%s.%s.inc", filepath.c_str(),
+ std::string includePath = StringHelper::Sprintf("%s.%s.inc", filepath.string().c_str(),
res->GetExternalExtension().c_str());
decl = parent->AddDeclarationIncludeArray(rawDataIndex, includePath, GetRawDataSize(),
GetSourceTypeName(), name, arrayCnt);