forked from boostorg/beast
Fix narrowing in static_ostream
This commit is contained in:
1 parent
b5c69ff7c7
commit
ef493d4489
2 files changed
+3
-1
No files matched your search
@@ -57,7 +57,8 @@ public:
|
||||
{
|
||||
if(! Traits::eq_int_type(ch, Traits::eof()))
|
||||
{
|
||||
Traits::assign(*this->pptr(), ch);
|
||||
Traits::assign(*this->pptr(),
|
||||
static_cast<CharT>(ch));
|
||||
flush(1);
|
||||
prepare();
|
||||
return ch;
|
||||
|
||||
Reference in new issue
Block a user