Commit 995d01a6 authored by Victor Zverovich's avatar Victor Zverovich

Fix a warning.

parent 26d2ae62
......@@ -173,7 +173,7 @@ void Formatter::FormatInt(T value, const FormatSpec &spec) {
p[count--] = '0' + (n % 10);
n /= 10;
}
*p = '0' + n;
*p = static_cast<char>('0' + n);
break;
}
case 'x': case 'X': {
......
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