| author | |
| committer | |
| log | 9177e0da4f8e3480f5a7fade6c42f2ec81f5ffd5 |
| tree | 25ecdd131868bd9fd3fc8a2ae365fe3b3f980fa2 |
| parent | fcb05ee2e70ab76c21211ecc2581d5d4ae5917b1 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/os/uefi/pool_allocator.zig+1-1| ... | @@ -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 = 1 << log2_ptr_align; | 25 | const ptr_align = @as(usize, 1) << @as(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 |