Fix compilation.
[reactos.git] / reactos / subsystems / mvdm / ntvdm / dos / dos32krnl / process.c
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';