fixed compilation
svn-id: r16916
This commit is contained in:
parent
ed9272ac9c
commit
531ca37040
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ const TCHAR* WindowsFilesystemNode::toUnicode(const char *x) {
|
||||||
return (const TCHAR *)x;
|
return (const TCHAR *)x;
|
||||||
#else
|
#else
|
||||||
static const TCHAR unicodeString[MAX_PATH];
|
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;
|
return unicodeString;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue