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