summaryrefslogtreecommitdiff
path: root/rust/src/operand_iter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/operand_iter.rs')
-rw-r--r--rust/src/operand_iter.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/src/operand_iter.rs b/rust/src/operand_iter.rs
index 5f0fbd8e..0d24fd49 100644
--- a/rust/src/operand_iter.rs
+++ b/rust/src/operand_iter.rs
@@ -1,4 +1,3 @@
-use binaryninjacore_sys::BNFromVariableIdentifier;
use binaryninjacore_sys::BNGetHighLevelILByIndex;
use binaryninjacore_sys::BNGetMediumLevelILByIndex;
use binaryninjacore_sys::BNHighLevelILOperation;
@@ -215,7 +214,7 @@ impl<F: ILFunction + RefCountable> ExactSizeIterator for OperandSSAVarIter<F> {
}
pub fn get_var(id: u64) -> Variable {
- unsafe { Variable::from_raw(BNFromVariableIdentifier(id)) }
+ unsafe { Variable::from_identifier(id) }
}
pub fn get_var_ssa(id: u64, version: usize) -> SSAVariable {