| commit | 3e53ac2451bd89ff0288029252d89a611e5356a5 | [log] [tgz] |
|---|---|---|
| author | Victor Zverovich <victor.zverovich@gmail.com> | Mon Jun 23 08:48:42 2014 -0700 |
| committer | Victor Zverovich <victor.zverovich@gmail.com> | Mon Jun 23 08:48:42 2014 -0700 |
| tree | 81eb4b82b89742fd99f208133214514926bc49cd | |
| parent | d0587445cb05cc927a12e8007a96c489903bad08 [diff] [blame] |
Fix warnings.
diff --git a/format.cc b/format.cc index 4f26b4d..b8fa2c8 100644 --- a/format.cc +++ b/format.cc
@@ -622,7 +622,7 @@ width = arg.int_value; if (arg.int_value < 0) { spec.align_ = ALIGN_LEFT; - width = -width; + width = 0 - width; } break; case UINT: @@ -632,7 +632,7 @@ width = arg.long_long_value; if (arg.long_long_value < 0) { spec.align_ = ALIGN_LEFT; - width = -width; + width = 0 - width; } break; case ULONG_LONG: