Skip to content

Commit

Permalink
fix warning in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Freax13 committed Jul 31, 2024
1 parent a59bf9f commit b349961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/src/gdt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ lazy_static! {
const STACK_SIZE: usize = 4096;
static mut STACK: [u8; STACK_SIZE] = [0; STACK_SIZE];

let stack_start = VirtAddr::from_ptr(unsafe { ptr::addr_of!(STACK) });
let stack_start = VirtAddr::from_ptr(ptr::addr_of!(STACK));
let stack_end = stack_start + STACK_SIZE as u64;
stack_end
};
Expand Down

0 comments on commit b349961

Please sign in to comment.