mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Remove spurious consts. This fixes warnings with compilers that
are strict about such things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user