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/lto/LTOCodeGenerator.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/lto/LTOCodeGenerator.cpp')
-rw-r--r-- | llvm/tools/lto/LTOCodeGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/lto/LTOCodeGenerator.cpp b/llvm/tools/lto/LTOCodeGenerator.cpp index bc65b3afc28..3ce22e5de41 100644 --- a/llvm/tools/lto/LTOCodeGenerator.cpp +++ b/llvm/tools/lto/LTOCodeGenerator.cpp @@ -370,7 +370,7 @@ bool LTOCodeGenerator::generateAssemblyCode(formatted_raw_ostream& out, // if options were requested, set them if ( !_codegenOptions.empty() ) cl::ParseCommandLineOptions(_codegenOptions.size(), - (char**)&_codegenOptions[0]); + const_cast<char **>(&_codegenOptions[0])); // Instantiate the pass manager to organize the passes. PassManager passes; |