mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 21:49:30 +00:00
[fnd] Fix typecast typo.
This commit is contained in:
parent
322e4d2b48
commit
b3d5cd6976
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ void io::makeDirectory(const std::string& path)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
std::u16string wpath = fnd::StringConv::ConvertChar8ToChar16(path);
|
std::u16string wpath = fnd::StringConv::ConvertChar8ToChar16(path);
|
||||||
_wmkdir(wpath.c_str());
|
_wmkdir((wchar_t*)wpath.c_str());
|
||||||
#else
|
#else
|
||||||
mkdir(path.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
|
mkdir(path.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue