This commit is contained in:
Бранимир Караџић
2022-08-15 21:18:40 -07:00
parent 715b2baeef
commit b4046a0f13
2 changed files with 17 additions and 2 deletions

View File

@@ -279,7 +279,7 @@ namespace bx
return false;
}
m_fd = crt0::open(_filePath.get(), crt0::Open::Read, 0);
m_fd = crt0::open(_filePath.getCPtr(), crt0::Open::Read, 0);
if (0 >= m_fd)
{
@@ -360,7 +360,7 @@ namespace bx
return false;
}
m_fd = crt0::open(_filePath.get(), _append ? crt0::Open::Append : crt0::Open::Write, 0600);
m_fd = crt0::open(_filePath.getCPtr(), _append ? crt0::Open::Append : crt0::Open::Write, 0600);
if (0 >= m_fd)
{