Remove spurious consts. This fixes warnings with compilers that
[oota-llvm.git] / lib / System / Unix / Program.inc
index 896e8090e707d767676dec3ac36642ab0445f9ff..6517a96b09b853175b047743d341498658fff929 100644 (file)
@@ -196,9 +196,9 @@ Program::ExecuteAndWait(const Path& path,
       
       // Execute!
       if (envp != 0)
-        execve (path.c_str(), (char** const)args, (char**)envp);
+        execve (path.c_str(), (char**)args, (char**)envp);
       else
-        execv (path.c_str(), (char** const)args);
+        execv (path.c_str(), (char**)args);
       // If the execve() failed, we should exit and let the parent pick up
       // our non-zero exit status.
       exit (errno);