aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index bee1173..e95f4dd 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1987,7 +1987,7 @@ fn read_E_anybank<T: Iterator<Item=u8>>(bytes_iter: &mut T, prefixes: &Prefixes,
let disp = if modbits == 0b01 {
read_num(bytes_iter, 1, length) as i8 as i32
} else {
- read_num(bytes_iter, 4, length) as i8 as i32
+ read_num(bytes_iter, 4, length) as i32
};
*result = Operand::RegDisp(reg, disp);
}