summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/operand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/operand.c b/src/arch/x86/operand.c
index 31c993f..3a37d0a 100644
--- a/src/arch/x86/operand.c
+++ b/src/arch/x86/operand.c
@@ -1023,7 +1023,7 @@ bool x86_read_one_operand(GArchInstruction *instr, const bin_t *data, off_t *pos
break;
case X86_OTP_IMM1632:
- if (oprsize == AOS_UNDEFINED) oprsize = va_arg(ap, AsmOperandSize);
+ oprsize = va_arg(ap, AsmOperandSize);
op = g_imm_operand_new_from_data(oprsize == AOS_32_BITS ? MDS_32_BITS : MDS_16_BITS, data, pos, len, SRE_LITTLE);
break;