Browse Source

Fix issues of the CI

pull/81/head
Andrea Ciliberti 2 years ago
parent
commit
e2dd1335d4
  1. 2
      ctru-rs/src/linear.rs

2
ctru-rs/src/linear.rs

@ -37,6 +37,6 @@ unsafe impl Allocator for LinearAllocator { @@ -37,6 +37,6 @@ unsafe impl Allocator for LinearAllocator {
}
unsafe fn deallocate(&self, ptr: std::ptr::NonNull<u8>, _layout: std::alloc::Layout) {
unsafe { ctru_sys::linearFree(ptr.as_ptr() as *mut _) };
ctru_sys::linearFree(ptr.as_ptr() as *mut _);
}
}

Loading…
Cancel
Save