[Lldb-commits] [lldb] r153930 - /lldb/trunk/source/API/SBStream.cpp
Bill Wendling
isanbard at gmail.com
Mon Apr 2 21:14:31 PDT 2012
Author: void
Date: Mon Apr 2 23:14:31 2012
New Revision: 153930
URL: http://llvm.org/viewvc/llvm-project?rev=153930&view=rev
Log:
Return 0 for the size_t return type.
Modified:
lldb/trunk/source/API/SBStream.cpp
Modified: lldb/trunk/source/API/SBStream.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBStream.cpp?rev=153930&r1=153929&r2=153930&view=diff
==============================================================================
--- lldb/trunk/source/API/SBStream.cpp (original)
+++ lldb/trunk/source/API/SBStream.cpp Mon Apr 2 23:14:31 2012
@@ -51,7 +51,7 @@
SBStream::GetSize()
{
if (m_is_file || m_opaque_ap.get() == NULL)
- return NULL;
+ return 0;
return static_cast<StreamString *>(m_opaque_ap.get())->GetSize();
}
More information about the lldb-commits
mailing list