From 12e0b725df460c0f42dca66a6ceb555a8ed4ca95 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 9 Jan 2008 07:57:10 +0000 Subject: [PATCH] fix win32 compile --- Common/OS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Common/OS.cpp b/Common/OS.cpp index 6aa4666b5e..133c06094e 100644 --- a/Common/OS.cpp +++ b/Common/OS.cpp @@ -1,4 +1,4 @@ -// $Id: OS.cpp,v 1.10 2008-01-08 12:05:45 geuzaine Exp $ +// $Id: OS.cpp,v 1.11 2008-01-09 07:57:10 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -168,7 +168,7 @@ int SystemCall(const char *command) memset(&suInfo, 0, sizeof(suInfo)); suInfo.cb = sizeof(suInfo); Msg(INFO, "Calling '%s'", command); - CreateProcess(NULL, command, NULL, NULL, FALSE, + CreateProcess(NULL, (char*)command, NULL, NULL, FALSE, NORMAL_PRIORITY_CLASS, NULL, NULL, &suInfo, &prInfo); return 0; #else -- GitLab