diff --git a/src/allocator/frame/buddy.rs b/src/allocator/frame/buddy.rs index 564004303a..b4c224f957 100644 --- a/src/allocator/frame/buddy.rs +++ b/src/allocator/frame/buddy.rs @@ -7,7 +7,7 @@ use crate::{ #[repr(transparent)] struct BuddyUsage(u8); -#[repr(packed)] +#[repr(C, packed)] struct BuddyEntry { base: PhysicalAddress, size: usize,