mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
Fix compilation.
svn path=/trunk/; revision=67506
This commit is contained in:
parent
0345f7203f
commit
dc0c0c695b
2 changed files with 2 additions and 2 deletions
|
@ -260,7 +260,7 @@ Command:
|
|||
DPRINT1("Starting '%s' ('%.*s')...\n",
|
||||
AppName,
|
||||
CommandInfo.CmdLen >= 2 ? CommandInfo.CmdLen - 2 /* Display the command line without the terminating 0d 0a */
|
||||
: CommandInfo.CmdLen
|
||||
: CommandInfo.CmdLen,
|
||||
CmdLine);
|
||||
Result = DosStartProcess(AppName, CmdLine, Env);
|
||||
if (Result != ERROR_SUCCESS)
|
||||
|
|
|
@ -633,7 +633,7 @@ WORD DosCreateProcess(LPCSTR ProgramName,
|
|||
*/
|
||||
CmdLineSize = min(*(PBYTE)FAR_POINTER(Parameters->CommandLine), DOS_CMDLINE_LENGTH);
|
||||
RtlCopyMemory(CmdLine,
|
||||
FAR_POINTER(Parameters->CommandLine) + 1,
|
||||
(LPSTR)FAR_POINTER(Parameters->CommandLine) + 1,
|
||||
CmdLineSize);
|
||||
/* NULL-terminate it */
|
||||
CmdLine[CmdLineSize] = '\0';
|
||||
|
|
Loading…
Reference in a new issue