summaryrefslogtreecommitdiffstats
path: root/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-12-22 19:11:42 +0000
committerReid Kleckner <rnk@google.com>2016-12-22 19:11:42 +0000
commit143a937f79e8117ba3bace743d8476ab9dea0ba2 (patch)
tree2b1a56530190a4981d35716957caa861ae125223 /llvm/utils/KillTheDoctor/KillTheDoctor.cpp
parenta8049574760a8ba4a56836e29fb10c3549c85e85 (diff)
downloadbcm5719-llvm-143a937f79e8117ba3bace743d8476ab9dea0ba2.tar.gz
bcm5719-llvm-143a937f79e8117ba3bace743d8476ab9dea0ba2.zip
Build KillTheDoctor with mingw-w64
compiler-rt uses it in its lit tests. llvm-svn: 290357
Diffstat (limited to 'llvm/utils/KillTheDoctor/KillTheDoctor.cpp')
-rw-r--r--llvm/utils/KillTheDoctor/KillTheDoctor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
index c9e96617f37..b3ec134dbe6 100644
--- a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
+++ b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
@@ -349,7 +349,7 @@ int main(int argc, char **argv) {
::_set_error_mode(_OUT_TO_STDERR);
BOOL success = ::CreateProcessA(ProgramToRun.c_str(),
- LPSTR(CommandLine.c_str()),
+ const_cast<LPSTR>(CommandLine.c_str()),
NULL,
NULL,
FALSE,
OpenPOWER on IntegriCloud