summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBStream.cpp')
-rw-r--r--lldb/source/API/SBStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBStream.cpp b/lldb/source/API/SBStream.cpp
index b08726f0f9a..dc8eb05ab0b 100644
--- a/lldb/source/API/SBStream.cpp
+++ b/lldb/source/API/SBStream.cpp
@@ -51,7 +51,7 @@ size_t
SBStream::GetSize()
{
if (m_is_file || m_opaque_ap.get() == NULL)
- return NULL;
+ return 0;
return static_cast<StreamString *>(m_opaque_ap.get())->GetSize();
}
OpenPOWER on IntegriCloud