From 1bb91f562ded9c7c1c1db4f5a94e735771f29491 Mon Sep 17 00:00:00 2001 From: Rot127 Date: Wed, 21 Jun 2023 04:40:28 -0500 Subject: [PATCH] Change type of immediate operand to unsiged (due to: #771) --- include/capstone/arm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/capstone/arm.h b/include/capstone/arm.h index 1f1fe2817d..527263a11c 100644 --- a/include/capstone/arm.h +++ b/include/capstone/arm.h @@ -850,7 +850,7 @@ typedef struct cs_arm_op { union { int reg; ///< register value for REG/SYSREG operand - int32_t imm; ///< immediate value for C-IMM, P-IMM or IMM operand + uint32_t imm; ///< immediate value for C-IMM, P-IMM or IMM operand int pred; ///< Predicate operand value. double fp; ///< floating point value for FP operand arm_op_mem mem; ///< base/index/scale/disp value for MEM operand