summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/tags.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/tags.rs b/rust/src/tags.rs
index 3fc50676..3b20bc04 100644
--- a/rust/src/tags.rs
+++ b/rust/src/tags.rs
@@ -245,7 +245,7 @@ impl From<&BNTagReference> for TagReference {
Self {
reference_type: value.refType,
auto_defined: value.autoDefined,
- tag: unsafe { Tag::ref_from_raw(value.tag).to_owned() },
+ tag: unsafe { Tag::from_raw(value.tag).to_owned() },
arch: unsafe { CoreArchitecture::from_raw(value.arch) },
func: unsafe { Function::from_raw(value.func).to_owned() },
addr: value.addr,