summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-11-26 14:48:47 +0100
committerPavel Labath <pavel@labath.sk>2019-11-26 14:49:16 +0100
commit12284e54b483c2541eb09cd7c575f438970b66c1 (patch)
treec628390da8d1f99d7df7c8cf753797293ddadd88 /lldb
parent6612fabc47f16d265d169b5b73dc8070dde436a8 (diff)
downloadbcm5719-llvm-12284e54b483c2541eb09cd7c575f438970b66c1.tar.gz
bcm5719-llvm-12284e54b483c2541eb09cd7c575f438970b66c1.zip
[lldb] fix a -Wcast-qual warning
Diffstat (limited to 'lldb')
-rw-r--r--lldb/tools/driver/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp
index fe4a17762f8..e13507be22d 100644
--- a/lldb/tools/driver/Driver.cpp
+++ b/lldb/tools/driver/Driver.cpp
@@ -854,7 +854,7 @@ int main(int argc, char const *argv[]) {
}
// Register the reproducer signal handler.
- llvm::sys::AddSignalHandler(reproducer_handler, (void *)(argv[0]));
+ llvm::sys::AddSignalHandler(reproducer_handler, const_cast<char *>(argv[0]));
SBError error = SBDebugger::InitializeWithErrorHandling();
if (error.Fail()) {
OpenPOWER on IntegriCloud