From b3d5cd697659ff9430411721260084daa7c31147 Mon Sep 17 00:00:00 2001 From: jakcron Date: Wed, 25 Apr 2018 22:22:19 +0800 Subject: [PATCH] [fnd] Fix typecast typo. --- lib/libfnd/source/io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libfnd/source/io.cpp b/lib/libfnd/source/io.cpp index 82323a3..9bb966b 100644 --- a/lib/libfnd/source/io.cpp +++ b/lib/libfnd/source/io.cpp @@ -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