Skip to content

Commit

Permalink
cstool: Fix ppc_br_hint comparison (#2254)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr authored Jan 20, 2024
1 parent 61273ff commit aaf6a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cstool/cstool_powerpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void print_insn_detail_ppc(csh handle, cs_insn *ins)
}
if (ppc->bc.pred_ctr != PPC_PRED_INVALID)
printf("\t\tpred CTR: %s\n", get_pred_name(ppc->bc.pred_ctr));
if (ppc->bc.hint != PPC_BH_INVALID)
if (ppc->bc.hint != PPC_BR_NOT_GIVEN)
printf("\t\thint: %s\n", get_pred_hint(ppc->bc.hint));
}

Expand Down

0 comments on commit aaf6a53

Please sign in to comment.