Skip to content

Commit afa6200

Browse files
committed
feat: sync to core changes
1 parent 75f868c commit afa6200

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

capstonebundle/arm/arm32/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ void capstone_plugin_arm32_emulate(RDContext* ctx, const RDInstruction* instr,
189189
}
190190

191191
bool capstone_plugin_arm32_render_operand(RDRenderer* r,
192-
const RDInstruction* instr, usize idx,
192+
const RDInstruction* instr, int idx,
193193
RDProcessor* p) {
194194
RD_UNUSED(p);
195195
const RDOperand* op = &instr->operands[idx];

capstonebundle/arm/arm32/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void capstone_plugin_arm32_emulate(RDContext* ctx, const RDInstruction* instr,
1414
RDProcessor* p);
1515

1616
bool capstone_plugin_arm32_render_operand(RDRenderer* r,
17-
const RDInstruction* instr, usize idx,
17+
const RDInstruction* instr, int idx,
1818
RDProcessor* p);
1919

2020
bool capstone_arm32_decode_regmask(const cs_insn* cs_insn, RDInstruction* instr,

capstonebundle/arm/arm64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static void _arm64_emulate(RDContext* ctx, const RDInstruction* instr,
126126
}
127127

128128
static bool _arm64_render_operand(RDRenderer* r, const RDInstruction* instr,
129-
usize idx, RDProcessor* p) {
129+
int idx, RDProcessor* p) {
130130
RD_UNUSED(p);
131131
const RDOperand* op = &instr->operands[idx];
132132

mips/plugin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ static bool _mips32_render_mnemonic(RDRenderer* r, const RDInstruction* instr,
220220
}
221221

222222
static bool _mips32_render_operand(RDRenderer* r, const RDInstruction* instr,
223-
usize idx, RDProcessor* p) {
223+
int idx, RDProcessor* p) {
224224
RD_UNUSED(p);
225225
const RDOperand* op = &instr->operands[idx];
226226

x86/plugin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ static void x86_decode(RDContext* ctx, RDInstruction* instr,
289289
}
290290

291291
static bool x86_render_operand(RDRenderer* r, const RDInstruction* instr,
292-
usize idx, RDProcessor* proc) {
292+
int idx, RDProcessor* proc) {
293293
RD_UNUSED(proc);
294294
const RDOperand* op = &instr->operands[idx];
295295

0 commit comments

Comments
 (0)