diff options
| author | Rubens Brandao <git@rubens.io> | 2024-04-25 12:32:01 -0300 |
|---|---|---|
| committer | Rubens Brandao <git@rubens.io> | 2024-04-25 12:36:14 -0300 |
| commit | 79d8d14eb32a9b1766eb546d3791580dfee7278f (patch) | |
| tree | c41e6fd793cbd843f554462857b8b1438cecb984 /rust/src/binaryview.rs | |
| parent | 98a5094bea61e02fb9184707b8bad6e09b9f5574 (diff) | |
Remove From Conf<Ref<Type>> impl for BNTypeWithConfidence
Diffstat (limited to 'rust/src/binaryview.rs')
| -rw-r--r-- | rust/src/binaryview.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs index 52d688b8..2664d247 100644 --- a/rust/src/binaryview.rs +++ b/rust/src/binaryview.rs @@ -576,14 +576,14 @@ pub trait BinaryViewExt: BinaryViewBase { fn define_auto_data_var(&self, dv: DataVariable) { unsafe { - BNDefineDataVariable(self.as_ref().handle, dv.address, &mut dv.t.into()); + BNDefineDataVariable(self.as_ref().handle, dv.address, &mut dv.t.as_ref().into()); } } /// You likely would also like to call [`Self::define_user_symbol`] to bind this data variable with a name fn define_user_data_var(&self, dv: DataVariable) { unsafe { - BNDefineUserDataVariable(self.as_ref().handle, dv.address, &mut dv.t.into()); + BNDefineUserDataVariable(self.as_ref().handle, dv.address, &mut dv.t.as_ref().into()); } } |
