[fnd] Fix typecast typo.

This commit is contained in:
jakcron 2018-04-25 22:22:19 +08:00
parent 322e4d2b48
commit b3d5cd6976

View file

@ -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