Commit 8c4425a0 authored by Victor Zverovich's avatar Victor Zverovich

Fix warnings.

parent 04b34322
...@@ -862,7 +862,7 @@ void BasicWriter<Char>::FormatInt(T value, const Spec &spec) { ...@@ -862,7 +862,7 @@ void BasicWriter<Char>::FormatInt(T value, const Spec &spec) {
char sign = 0; char sign = 0;
typedef typename internal::IntTraits<T>::MainType UnsignedType; typedef typename internal::IntTraits<T>::MainType UnsignedType;
UnsignedType abs_value = value; UnsignedType abs_value = value;
if (value < 0) { if (internal::IsNegative(value)) {
sign = '-'; sign = '-';
++size; ++size;
abs_value = 0 - abs_value; abs_value = 0 - abs_value;
......
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