We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ca3d4 commit e8a00ceCopy full SHA for e8a00ce
capstone-rs/src/arch/xtensa.rs
@@ -71,7 +71,7 @@ pub enum XtensaOperandType {
71
72
impl XtensaOperandType {
73
fn new(op_type: u8, value: cs_xtensa_operand__bindgen_ty_1) -> XtensaOperandType {
74
- match op_type as u32 {
+ match op_type as cs_xtensa_op_type::Type {
75
cs_xtensa_op_type::XTENSA_OP_REG => {
76
XtensaOperandType::Reg(RegId(unsafe { value.reg } as RegIdInt))
77
}
0 commit comments