Skip to content

Commit

Permalink
Fix faulty macro name
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Oct 21, 2023
1 parent d8d78be commit c0bf85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/asm/p/asm_arm_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static int disassemble(RzAsm *a, RzAsmOp *op, const ut8 *buf, int len) {
}
}
cs_option(ctx->cd, CS_OPT_SYNTAX, (a->syntax == RZ_ASM_SYNTAX_REGNUM) ? CS_OPT_SYNTAX_NOREGNAME : CS_OPT_SYNTAX_DEFAULT);
#if CS_VERSION_NEXT >= 6
#if CS_NEXT_VERSION >= 6
cs_option(ctx->cd, CS_OPT_SYNTAX, CS_OPT_SYNTAX_CS_REG_ALIAS);
#endif
cs_option(ctx->cd, CS_OPT_DETAIL, (a->features && *a->features) ? CS_OPT_ON : CS_OPT_OFF);
Expand Down

0 comments on commit c0bf85f

Please sign in to comment.