mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Change CreateProcess to CreateProcessA (Windows only)
Fixes the following error: 'BOOL CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION)': cannot convert argument 2 from 'char *' to 'LPWSTR'
This commit is contained in:
parent
6cb0676e4c
commit
8d75f339b2
1 changed files with 1 additions and 1 deletions
|
|
@ -492,7 +492,7 @@ SystemExec::start (StdErrMode stderr_mode, const char * /*vfork_exec_wrapper*/)
|
|||
stdinP[0], stdoutP[1], stderrP[1]
|
||||
};
|
||||
|
||||
success = CreateProcess(0, w_args,
|
||||
success = CreateProcessA(0, w_args,
|
||||
0, 0, /* bInheritHandles = */ TRUE,
|
||||
(CREATE_NO_WINDOW&0) | CREATE_UNICODE_ENVIRONMENT | (0&CREATE_NEW_CONSOLE),
|
||||
/*env = */ 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue