From 1beaa1af679d49d99696ec907662b764f7ba1867 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 27 Sep 2009 02:45:48 +0000 Subject: Fixed a copy/paste mistake. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@120 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 5 +++++ src/arch/x86/operand.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c8011a3..a3dc317 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 09-09-27 Cyrille Bagard + * src/arch/x86/operand.c: + Fix a copy/paste mistake: the operand size argument is never initialized. + +09-09-27 Cyrille Bagard + * src/gtkext/gtkblockview.c: Replace hardcoded integer value by G_MAXINT. 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; -- cgit v0.11.2-87-g4458