diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-17 17:44:03 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-17 17:44:03 +0000 |
commit | 7a0fde90f5c03625c29219ff92f35028e7e39c9e (patch) | |
tree | e40f7c1a7b34deb0ee2945d3a968662c2eb45ae2 /llvm/tools/llvm-ld/llvm-ld.cpp | |
parent | 1f0f2142ccc78e7738dc20f13d560665aa22ec6d (diff) | |
download | bcm5719-llvm-7a0fde90f5c03625c29219ff92f35028e7e39c9e.tar.gz bcm5719-llvm-7a0fde90f5c03625c29219ff92f35028e7e39c9e.zip |
Fix more -Wcast-qual warnings.
llvm-svn: 101656
Diffstat (limited to 'llvm/tools/llvm-ld/llvm-ld.cpp')
-rw-r--r-- | llvm/tools/llvm-ld/llvm-ld.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp index 29b74b8a72b..ce52b59f0d2 100644 --- a/llvm/tools/llvm-ld/llvm-ld.cpp +++ b/llvm/tools/llvm-ld/llvm-ld.cpp @@ -399,7 +399,7 @@ static int GenerateNative(const std::string &OutputFilename, // Run the compiler to assembly and link together the program. int R = sys::Program::ExecuteAndWait( - gcc, &Args[0], (const char**)clean_env, 0, 0, 0, &ErrMsg); + gcc, &Args[0], const_cast<const char **>(clean_env), 0, 0, 0, &ErrMsg); delete [] clean_env; return R; } |