summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/macosx/objcxx/Host.mm
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/macosx/objcxx/Host.mm')
-rw-r--r--lldb/source/Host/macosx/objcxx/Host.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Host/macosx/objcxx/Host.mm b/lldb/source/Host/macosx/objcxx/Host.mm
index 03880ff433b..9febb8fb8b2 100644
--- a/lldb/source/Host/macosx/objcxx/Host.mm
+++ b/lldb/source/Host/macosx/objcxx/Host.mm
@@ -1013,7 +1013,7 @@ static bool AddPosixSpawnFileAction(void *_file_actions, const FileAction *info,
return false;
posix_spawn_file_actions_t *file_actions =
- reinterpret_cast<posix_spawn_file_actions_t *>(_file_actions);
+ static_cast<posix_spawn_file_actions_t *>(_file_actions);
switch (info->GetAction()) {
case FileAction::eFileActionNone:
@@ -1447,7 +1447,7 @@ llvm::Expected<HostThread> Host::StartMonitoringChildProcess(
"(callback, pid=%i, monitor_signals=%i) "
"source = %p\n",
static_cast<int>(pid), monitor_signals,
- reinterpret_cast<void *>(source));
+ static_cast<void *>(source));
if (source) {
Host::MonitorChildProcessCallback callback_copy = callback;
OpenPOWER on IntegriCloud