Fix compilation.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 2 May 2015 01:26:42 +0000 (01:26 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 2 May 2015 01:26:42 +0000 (01:26 +0000)
svn path=/trunk/; revision=67506

reactos/subsystems/mvdm/ntvdm/dos/dem.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/process.c

index 8fe242c..b34d6db 100644 (file)
@@ -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)
index d07183b..70919b8 100644 (file)
@@ -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';