Silence warning

Fixes #337
This commit is contained in:
Howard Hinnant 2019-03-26 18:13:39 -04:00
parent 8b69087d35
commit 9dc96fd9b5

View File

@ -6248,7 +6248,7 @@ read(std::basic_istream<CharT, Traits>& is, int a0, Args&& ...args)
auto e = buf; auto e = buf;
do do
{ {
*e++ = CharT(u % 10) + CharT{'0'}; *e++ = static_cast<CharT>(CharT(u % 10) + CharT{'0'});
u /= 10; u /= 10;
} while (u > 0); } while (u > 0);
std::reverse(buf, e); std::reverse(buf, e);