Commit 3e53ac24 authored by Victor Zverovich's avatar Victor Zverovich

Fix warnings.

parent d0587445
...@@ -622,7 +622,7 @@ unsigned fmt::BasicWriter<Char>::PrintfParser::ParseHeader( ...@@ -622,7 +622,7 @@ unsigned fmt::BasicWriter<Char>::PrintfParser::ParseHeader(
width = arg.int_value; width = arg.int_value;
if (arg.int_value < 0) { if (arg.int_value < 0) {
spec.align_ = ALIGN_LEFT; spec.align_ = ALIGN_LEFT;
width = -width; width = 0 - width;
} }
break; break;
case UINT: case UINT:
...@@ -632,7 +632,7 @@ unsigned fmt::BasicWriter<Char>::PrintfParser::ParseHeader( ...@@ -632,7 +632,7 @@ unsigned fmt::BasicWriter<Char>::PrintfParser::ParseHeader(
width = arg.long_long_value; width = arg.long_long_value;
if (arg.long_long_value < 0) { if (arg.long_long_value < 0) {
spec.align_ = ALIGN_LEFT; spec.align_ = ALIGN_LEFT;
width = -width; width = 0 - width;
} }
break; break;
case ULONG_LONG: case ULONG_LONG:
......
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