aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2005-02-25 20:12:25 +0000
committerPaweł Kołodziejski2005-02-25 20:12:25 +0000
commit531ca3704075b6bed56008eb60ec2e539f7b6f5c (patch)
tree678340867b460f5f8fe582bd3980a8b1b8d10737
parented9272ac9c4d8fb2dfac0f24652d1d88d15b1a4e (diff)
downloadscummvm-rg350-531ca3704075b6bed56008eb60ec2e539f7b6f5c.tar.gz
scummvm-rg350-531ca3704075b6bed56008eb60ec2e539f7b6f5c.tar.bz2
scummvm-rg350-531ca3704075b6bed56008eb60ec2e539f7b6f5c.zip
fixed compilation
svn-id: r16916
-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
}