summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-09-27 02:45:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-09-27 02:45:48 (GMT)
commit1beaa1af679d49d99696ec907662b764f7ba1867 (patch)
treee44d0cd0e8de40f2a0880d89b448a57d72e46f9c /src/arch/x86
parentd6c23b21afa52a3b1183507445b9845db09f199e (diff)
Fixed a copy/paste mistake.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@120 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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;