Disable MSVC warnings.

This commit is contained in:
Victor Zverovich 2012-12-21 15:43:10 -08:00
parent 2dc1c0bb30
commit 516137657e

View File

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