mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-11 09:11:00 +00:00
Compile fix
This commit is contained in:
@@ -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