summaryrefslogtreecommitdiff
path: root/rust/src/debuginfo.rs
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2023-04-18 12:38:34 -0400
committerKyleMiles <krm504@nyu.edu>2023-04-18 12:39:39 -0400
commitb14cdec968445e1502ead497b00f49d5bb68c92a (patch)
tree3885d4e1515e9c757d594ca5914292f953db0a4a /rust/src/debuginfo.rs
parentb59b1a6076a3772128186db8fe97b5766f92a3fd (diff)
Rust API : Misc Changes and Improvements
Diffstat (limited to 'rust/src/debuginfo.rs')
-rw-r--r--rust/src/debuginfo.rs2
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 _,