| ... | @@ -22,7 +22,7 @@ const UefiPoolAllocator = struct { | ... | @@ -22,7 +22,7 @@ const UefiPoolAllocator = struct { |
| 22 | | 22 | |
| 23 | assert(len > 0); | 23 | assert(len > 0); |
| 24 | | 24 | |
| 25 | const ptr_align = @as(usize, 1) << @as(Allocator.Log2Align, log2_ptr_align); | 25 | const ptr_align = @as(usize, 1) << @intCast(Allocator.Log2Align, log2_ptr_align); |
| 26 | | 26 | |
| 27 | const metadata_len = mem.alignForward(@sizeOf(usize), ptr_align); | 27 | const metadata_len = mem.alignForward(@sizeOf(usize), ptr_align); |
| 28 | | 28 | |