summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-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");