summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/StreamString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/StreamString.cpp')
-rw-r--r--lldb/source/Core/StreamString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/StreamString.cpp b/lldb/source/Core/StreamString.cpp
index 1c6f146f1be..8d7d039fd65 100644
--- a/lldb/source/Core/StreamString.cpp
+++ b/lldb/source/Core/StreamString.cpp
@@ -34,7 +34,7 @@ StreamString::Flush ()
// Nothing to do when flushing a buffer based stream...
}
-int
+size_t
StreamString::Write (const void *s, size_t length)
{
m_packet.append ((char *)s, length);
OpenPOWER on IntegriCloud