aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/evex.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/evex.in b/src/shared/evex.in
index 414074e..5d3b053 100644
--- a/src/shared/evex.in
+++ b/src/shared/evex.in
@@ -238,7 +238,7 @@ pub(crate) fn read_evex<
_ => None
};
if let Some(size) = overridden_size {
- instruction.disp *= size;
+ instruction.disp = instruction.disp.wrapping_mul(size);
} else {
apply_disp_scale(instruction);
}