mirror of
https://github.com/Noratrieb/crimes.git
synced 2026-01-14 09:05:01 +01:00
whooooooooops
This commit is contained in:
parent
ac2f87f81a
commit
65edc92bec
1 changed files with 2 additions and 2 deletions
|
|
@ -74,8 +74,8 @@ unsafe fn extract(buf: Buf) -> (Ptr, Ptr) {
|
|||
);
|
||||
|
||||
// both buffers are now filled with fancy provenance bytes, read the pointers out and return them
|
||||
let a = a_buf.as_ptr().cast::<Ptr>().read();
|
||||
let b = b_buf.as_ptr().cast::<Ptr>().read();
|
||||
let a = a_buf.as_ptr().cast::<Ptr>().read_unaligned();
|
||||
let b = b_buf.as_ptr().cast::<Ptr>().read_unaligned();
|
||||
|
||||
(a, b)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue