mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-05 21:44:24 +00:00
Compile fix
This commit is contained in:
1 parent
277b97efb6
commit
c1e8df576c
1 file changed
+1
-1
@@ -307,7 +307,7 @@ int WINAPI wWinMain(_In_ HINSTANCE hInst,
|
||||
{
|
||||
wchar_t *conv = new wchar_t[originalpath.size()+1];
|
||||
|
||||
MultiByteToWideChar(CP_UTF8, 0, originalpath.c_str(), -1, conv, originalpath.size()+1);
|
||||
MultiByteToWideChar(CP_UTF8, 0, originalpath.c_str(), -1, conv, int(originalpath.size()+1));
|
||||
|
||||
wide_path = conv;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user