summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/disassembly.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/src/disassembly.rs b/rust/src/disassembly.rs
index 2eb96680..c4ca2b33 100644
--- a/rust/src/disassembly.rs
+++ b/rust/src/disassembly.rs
@@ -128,6 +128,7 @@ impl From<Vec<InstructionTextToken>> for DisassemblyTextLine {
hasTypeInfo: false,
parentType: ptr::null_mut(),
fieldIndex: usize::MAX,
+ offset: 0
},
})
}
@@ -167,6 +168,7 @@ impl From<&Vec<&str>> for DisassemblyTextLine {
hasTypeInfo: false,
parentType: ptr::null_mut(),
fieldIndex: usize::MAX,
+ offset: 0
},
})
}
@@ -195,6 +197,7 @@ impl Default for DisassemblyTextLine {
hasTypeInfo: false,
parentType: ptr::null_mut(),
fieldIndex: usize::MAX,
+ offset: 0
},
})
}