diff options
Diffstat (limited to 'rust/src/debuginfo.rs')
| -rw-r--r-- | rust/src/debuginfo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 _, |
