forked from fmtlib/fmt
Disable MSVC warnings.
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user