Allow to add signed integers to Address variables

This commit is contained in:
Albert24GG
2024-02-29 22:23:52 +02:00
parent f2f607c7ac
commit 2314d4d492
3 changed files with 15 additions and 9 deletions

View File

@@ -81,7 +81,7 @@ pub fn dump_offsets(
let mut result: usize = 0;
process.read_memory_raw(
address.add(start),
address.add(start.try_into().unwrap()),
&mut result as *mut _ as *mut _,
end - start,
)?;