diff options
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs index 7ec7f0f..7d8c1b5 100644 --- a/src/display.rs +++ b/src/display.rs @@ -120,7 +120,7 @@ impl <T: std::fmt::Write> Colorize<T> for Operand { } &Operand::RegDisp(ref spec, ref disp) => { let (sign, disp) = if *disp < 0 { - (true, -*disp) + (true, (-std::num::Wrapping(*disp)).0) } else { (false, *disp) }; |