diff options
Diffstat (limited to 'lldb/source/Core/StreamString.cpp')
-rw-r--r-- | lldb/source/Core/StreamString.cpp | 2 |
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; } |