Fix a warning.

This commit is contained in:
Victor Zverovich 2012-12-24 12:14:26 -08:00
parent 26d2ae6281
commit 995d01a6fa

View File

@ -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': {