Unverified Commit 5eaa1139 authored by Jérôme Travert's avatar Jérôme Travert Committed by GitHub
Browse files

Avoid implicit conversion from int to char

parent 72901486
...@@ -315,7 +315,7 @@ void PrintTo(__uint128_t v, ::std::ostream* os) { ...@@ -315,7 +315,7 @@ void PrintTo(__uint128_t v, ::std::ostream* os) {
low = low / 10 + high_mod * 1844674407370955161 + carry / 10; low = low / 10 + high_mod * 1844674407370955161 + carry / 10;
char digit = static_cast<char>(carry % 10); char digit = static_cast<char>(carry % 10);
*--p = '0' + digit; *--p = static_cast<char>('0' + digit);
} }
*os << p; *os << p;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment