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 ef2b70583eb..36e086b0b43 100644
--- a/lldb/source/Core/StreamString.cpp
+++ b/lldb/source/Core/StreamString.cpp
@@ -37,7 +37,7 @@ StreamString::Flush ()
size_t
StreamString::Write (const void *s, size_t length)
{
- m_packet.append ((char *)s, length);
+ m_packet.append (reinterpret_cast<const char *>(s), length);
return length;
}
OpenPOWER on IntegriCloud