forked from OSchip/llvm-project
![]() Replace "int n = str_.size();" with "int n = static_cast<int>(str_.size());". int is the correct type to use, because we're eventually calling "base::pbump(n+1);" where base is std::basic_streambuf. N4606 27.6.3.3.3 [streambuf.put.area]/4 declares: "void pbump(int n);" llvm-svn: 288751 |
||
---|---|---|
.. | ||
get.pass.cpp | ||
get_chart.pass.cpp | ||
get_pointer_size.pass.cpp | ||
get_pointer_size_chart.pass.cpp | ||
get_streambuf.pass.cpp | ||
get_streambuf_chart.pass.cpp | ||
getline_pointer_size.pass.cpp | ||
getline_pointer_size_chart.pass.cpp | ||
ignore.pass.cpp | ||
ignore_0xff.pass.cpp | ||
peek.pass.cpp | ||
putback.pass.cpp | ||
read.pass.cpp | ||
readsome.pass.cpp | ||
seekg.pass.cpp | ||
seekg_off.pass.cpp | ||
sync.pass.cpp | ||
tellg.pass.cpp | ||
unget.pass.cpp |