summaryrefslogtreecommitdiff
path: root/utils/KillTheDoctor
diff options
context:
space:
mode:
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,