Skip to content

Commit

Permalink
Fix type of d
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Sep 5, 2024
1 parent c32a2a4 commit da8e1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/HPPA/HPPADisassembler.c
Original file line number Diff line number Diff line change
Expand Up @@ -3621,7 +3621,7 @@ static bool decode_load(const cs_struct *ud, MCInst *MI, uint32_t insn)
{
uint32_t opcode = insn >> 26;
if (MODE_IS_HPPA_20(ud->mode)) {
uint32_t d = extract_16(insn, MODE_IS_HPPA_20W(ud->mode));
int32_t d = extract_16(insn, MODE_IS_HPPA_20W(ud->mode));
if (opcode == HPPA_OP_TYPE_LDWM) {
if (d < 0) {
push_str_modifier(HPPA_EXT_REF(MI), "mb");
Expand Down

0 comments on commit da8e1ab

Please sign in to comment.