summaryrefslogtreecommitdiff
path: root/tools/d2c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-01-16 21:12:08 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-01-16 21:12:08 (GMT)
commit52ac5b1b340335f56ceb599dba63164a26f10b10 (patch)
tree275104896dffa65e7887284857fa8fed831e9ea8 /tools/d2c
parent2ddb5c26af896b10517a89abf0c9498c598b7697 (diff)
Changed the display of a segment containing the value of an immediate.
Diffstat (limited to 'tools/d2c')
-rw-r--r--tools/d2c/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/d2c/syntax.c b/tools/d2c/syntax.c
index 2dad772..96fffc5 100644
--- a/tools/d2c/syntax.c
+++ b/tools/d2c/syntax.c
@@ -365,7 +365,7 @@ bool define_syntax_items(const asm_syntax *syntax, int fd, const char *arch, con
dprintf(fd, "\n");
if (item->flags & SIF_DECIMAL)
- dprintf(fd, "\t\tg_imm_operand_set_display(G_IMM_OPERAND(op), IOD_DEC);\n");
+ dprintf(fd, "\t\tg_imm_operand_set_default_display(G_IMM_OPERAND(op), IOD_DEC);\n");
dprintf(fd, "\t\tg_arch_instruction_attach_extra_operand(instr, op);\n");