Skip to content
This repository was archived by the owner on Aug 4, 2024. It is now read-only.

Commit 48d67f2

Browse files
committed
fix checking for wrong operand type
1 parent 9f9b89e commit 48d67f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native4j-capstone/src/main/java/org/native4j/capstone/insn/arm/CsOperandArm64.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public int getReg() {
3030
}
3131

3232
public long getImm() {
33-
assertType(ARM64_OP_MEM);
33+
assertType(ARM64_OP_IMM);
3434
return (long) rawOperandValue;
3535
}
3636

0 commit comments

Comments
 (0)