summaryrefslogtreecommitdiff
path: root/utils/KillTheDoctor
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
commit1d481d5a86fc60cb362f187ab618e2d11d40be2b (patch)
tree5ebc8bfaf0962dc1029fd82067052eeb21c95b38 /utils/KillTheDoctor
parent2272dc886cc27388d06f256db084b891c1f0cbfd (diff)
Build KillTheDoctor with mingw-w64
compiler-rt uses it in its lit tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/KillTheDoctor')
-rw-r--r--utils/KillTheDoctor/KillTheDoctor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/KillTheDoctor/KillTheDoctor.cpp b/utils/KillTheDoctor/KillTheDoctor.cpp
index c9e96617f37..b3ec134dbe6 100644
--- a/utils/KillTheDoctor/KillTheDoctor.cpp
+++ b/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,