diff options
Diffstat (limited to 'lldb/source/API')
-rw-r--r-- | lldb/source/API/SBBreakpoint.cpp | 2 | ||||
-rw-r--r-- | lldb/source/API/SBWatchpoint.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBBreakpoint.cpp b/lldb/source/API/SBBreakpoint.cpp index 3adb031e036..6fc4cd953b1 100644 --- a/lldb/source/API/SBBreakpoint.cpp +++ b/lldb/source/API/SBBreakpoint.cpp @@ -124,7 +124,7 @@ SBBreakpoint::GetID () const bool SBBreakpoint::IsValid() const { - return m_opaque_sp; + return (bool) m_opaque_sp; } void diff --git a/lldb/source/API/SBWatchpoint.cpp b/lldb/source/API/SBWatchpoint.cpp index 594584c0391..4794ba4c501 100644 --- a/lldb/source/API/SBWatchpoint.cpp +++ b/lldb/source/API/SBWatchpoint.cpp @@ -87,7 +87,7 @@ SBWatchpoint::GetID () bool SBWatchpoint::IsValid() const { - return m_opaque_sp; + return (bool) m_opaque_sp; } SBError |