svn path=/trunk/; revision=67506
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)
*/
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';