summaryrefslogtreecommitdiff
path: root/source/Core/StreamString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/StreamString.cpp')
-rw-r--r--source/Core/StreamString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Core/StreamString.cpp b/source/Core/StreamString.cpp
index ef2b70583ebd3..36e086b0b4332 100644
--- a/source/Core/StreamString.cpp
+++ b/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;
}