RunChildProcessRedirected takes a narrow string in the legacy ANSI mode

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6547 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2014-10-05 22:18:29 +00:00
parent 14fcfbe1a8
commit e36bbf1b94

View file

@ -955,7 +955,7 @@ switchcp: cp = orgwinconoutcp, mbtwcf = 0, utf8 = false;
return childec;
}
#else
int RunChildProcessRedirected(LPCWSTR cmd)
int RunChildProcessRedirected(LPCSTR cmd)
{
STARTUPINFO si = { sizeof(STARTUPINFO), };
PROCESS_INFORMATION pi;