From b14cdec968445e1502ead497b00f49d5bb68c92a Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Tue, 18 Apr 2023 12:38:34 -0400 Subject: Rust API : Misc Changes and Improvements --- rust/src/debuginfo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/debuginfo.rs') diff --git a/rust/src/debuginfo.rs b/rust/src/debuginfo.rs index fb108a21..0fd1930e 100644 --- a/rust/src/debuginfo.rs +++ b/rust/src/debuginfo.rs @@ -797,7 +797,7 @@ impl DebugInfo { unsafe { BNAddDebugDataVariableInfo( self.handle, - &mut BNDataVariableAndName { + &BNDataVariableAndName { address: var.address, type_: var.t.contents.handle, name: name.as_ref().as_ptr() as *mut _, -- cgit v1.3.1