From 5a1b45e729ecebba3eac45e45bf3c4d9077dfc33 Mon Sep 17 00:00:00 2001 From: iximeow Date: Fri, 7 May 2021 00:15:35 -0700 Subject: update yaxpeax-arch to 0.0.5 and fix some warnings --- src/display.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/display.rs b/src/display.rs index 80b9b70..cbcab0a 100644 --- a/src/display.rs +++ b/src/display.rs @@ -128,7 +128,7 @@ impl Display for Operand { } else { write!(f, "[{}]", consts::named_file( if *file < 0x80 { - (*file as u16) + *file as u16 } else { (*file as u16) | 0xf00u16 }) @@ -150,7 +150,7 @@ impl Display for Operand { } else { write!(f, "[{}]", consts::named_file( if *file < 0x80 { - (*file as u16) + *file as u16 } else { (*file as u16) | 0xf00u16 }) -- cgit v1.1