Skip to content

Commit

Permalink
Replace removed enum value.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Apr 13, 2023
1 parent 5583741 commit 5c5f22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/analysis/p/analysis_arm_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ static void opex(RzStrBuf *buf, csh handle, cs_insn *insn) {
if (x->cc != ARM_CC_INVALID && x->cc != ARM_CC_AL) {
pj_ks(pj, "cc", cc_name(x->cc));
}
if (x->mem_barrier != ARM_MB_INVALID) {
if (x->mem_barrier != ARM_MB_RESERVED_0) {
pj_ki(pj, "mem_barrier", x->mem_barrier - 1);
}
pj_end(pj);
Expand Down

0 comments on commit 5c5f22f

Please sign in to comment.