diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-10-18 19:34:38 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-10-18 19:34:38 +0000 |
commit | ba507b04e178f6a3b25003231ac2038a90d1d98c (patch) | |
tree | 890696e86092fe18fffec4c23fd7e925d51fa4f8 /lldb/source/Core/StreamString.cpp | |
parent | 8b8d2a4d999a392ebb90a5e6e739549314a3b52b (diff) | |
download | bcm5719-llvm-ba507b04e178f6a3b25003231ac2038a90d1d98c.tar.gz bcm5719-llvm-ba507b04e178f6a3b25003231ac2038a90d1d98c.zip |
Silence -Wqual-cast warnings from GCC 5.2
There were a number of const qualifiers being cast away which caused warnings.
This cluttered the output hiding real errors. Silence them by explicit casting.
NFC.
llvm-svn: 250662
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; } |