Fix a warning.

This commit is contained in:
Victor Zverovich 2012-12-21 15:31:41 -08:00
parent c240a129a2
commit 2dc1c0bb30

View File

@ -120,7 +120,7 @@ void Formatter::FormatInt(T value, FormatSpec spec) {
if (IntTraits<T>::IsNegative(value)) {
sign = '-';
++size;
abs_value = -value;
abs_value = -abs_value;
} else if ((spec.flags & PLUS_FLAG) != 0) {
sign = '+';
++size;