Commit 51613765 authored by Victor Zverovich's avatar Victor Zverovich

Disable MSVC warnings.

parent 2dc1c0bb
...@@ -120,7 +120,7 @@ void Formatter::FormatInt(T value, FormatSpec spec) { ...@@ -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;
......
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