aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/windows
diff options
context:
space:
mode:
Diffstat (limited to 'backends/fs/windows')
-rw-r--r--backends/fs/windows/windows-fs.cpp2
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
}