summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-02-06 22:09:44 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-02-06 22:09:44 (GMT)
commit188c47566a25223ba24d2d89e7aa4c332d3f8249 (patch)
treefdb5ebd1b85963a1778959425bf41deec369c106
parentaf3ed947448c341fa07a7fbc4e6684fa26e23eed (diff)
Restored hexadecimal as default rendering for immediate values.
-rw-r--r--src/arch/operands/immediate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/operands/immediate.c b/src/arch/operands/immediate.c
index 7421edc..e2cf5e6 100644
--- a/src/arch/operands/immediate.c
+++ b/src/arch/operands/immediate.c
@@ -282,6 +282,9 @@ static void g_imm_operand_init(GImmOperand *operand)
INIT_IMM_OP_EXTRA(operand);
+ GET_IMM_OP_EXTRA(operand)->def_display = IOD_HEX;
+ GET_IMM_OP_EXTRA(operand)->display = IOD_COUNT;
+
}