summaryrefslogtreecommitdiffstats
path: root/libcxx/include/sstream
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/sstream')
-rw-r--r--libcxx/include/sstream2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/sstream b/libcxx/include/sstream
index 71204e0fadd..14c91971c2f 100644
--- a/libcxx/include/sstream
+++ b/libcxx/include/sstream
@@ -558,7 +558,7 @@ basic_stringbuf<_CharT, _Traits, _Allocator>::overflow(int_type __c)
char_type* __p = const_cast<char_type*>(__str_.data());
this->setg(__p, __p + __ninp, __hm_);
}
- return this->sputc(__c);
+ return this->sputc(traits_type::to_char_type(__c));
}
return traits_type::not_eof(__c);
}
OpenPOWER on IntegriCloud