mirror of
https://github.com/urbit/ares.git
synced 2024-11-22 15:08:54 +03:00
[ares] fix atom initialization bug
This commit is contained in:
parent
697180606b
commit
336214cd9b
@ -208,7 +208,7 @@ impl IndirectAtom {
|
||||
data: *const u64,
|
||||
) -> Self {
|
||||
let (mut indirect, buffer) = Self::new_raw_mut(allocator, size);
|
||||
ptr::copy_nonoverlapping(data, buffer.add(2), size);
|
||||
ptr::copy_nonoverlapping(data, buffer, size);
|
||||
*(indirect.normalize())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user