summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Target')
-rw-r--r--lldb/source/Target/LanguageRuntime.cpp2
-rw-r--r--lldb/source/Target/Thread.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Target/LanguageRuntime.cpp b/lldb/source/Target/LanguageRuntime.cpp
index 3891d81d167..d9f7e0f965c 100644
--- a/lldb/source/Target/LanguageRuntime.cpp
+++ b/lldb/source/Target/LanguageRuntime.cpp
@@ -128,7 +128,7 @@ LanguageRuntime::ExceptionBreakpointResolver::SetActualResolver()
if (runtime)
{
m_actual_resolver_sp = runtime->CreateExceptionResolver (m_breakpoint, m_catch_bp, m_throw_bp);
- return m_actual_resolver_sp;
+ return (bool) m_actual_resolver_sp;
}
else
return false;
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index dc8d133c100..0513e3308d3 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/source/Target/Thread.cpp
@@ -136,7 +136,7 @@ Thread::SetStopInfoToNothing()
bool
Thread::ThreadStoppedForAReason (void)
{
- return GetPrivateStopReason ();
+ return (bool) GetPrivateStopReason ();
}
bool
OpenPOWER on IntegriCloud