diff options
-rw-r--r-- | backends/fs/windows/windows-fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp index c0fd2031d6..d9ee110f0f 100644 --- a/backends/fs/windows/windows-fs.cpp +++ b/backends/fs/windows/windows-fs.cpp @@ -75,7 +75,7 @@ const TCHAR* WindowsFilesystemNode::toUnicode(const char *x) { return (const TCHAR *)x; #else static const TCHAR unicodeString[MAX_PATH]; - MultiByteToWideChar(CP_ACP, 0, x, strlen(x) + 1, unicodeString, sizeof(unicodeString)); + MultiByteToWideChar(CP_ACP, 0, x, strlen(x) + 1, (const TCHAR *)unicodeString, sizeof(unicodeString)); return unicodeString; #endif } |