diff --git a/src/cli/text_io_handler.cpp b/src/cli/text_io_handler.cpp index cb4259c2..d1327bb5 100644 --- a/src/cli/text_io_handler.cpp +++ b/src/cli/text_io_handler.cpp @@ -84,7 +84,7 @@ TextIOHandler& TextIOHandler::operator << (const Char* str) { } TextIOHandler& TextIOHandler::operator << (const String& str) { - return *this << str.c_str(); + return *this << static_cast(str.c_str()); } void TextIOHandler::flush() {