| ... | @@ -282,7 +282,7 @@ const PageAllocator = struct { | ... | @@ -282,7 +282,7 @@ const PageAllocator = struct { |
| 282 | return @ptrCast([*]u8, addr)[0..alignPageAllocLen(aligned_len, n, len_align)]; | 282 | return @ptrCast([*]u8, addr)[0..alignPageAllocLen(aligned_len, n, len_align)]; |
| 283 | } | 283 | } |
| 284 | | 284 | |
| 285 | // If it wasn't, actually do an explicitely aligned allocation. | 285 | // If it wasn't, actually do an explicitly aligned allocation. |
| 286 | w.VirtualFree(addr, 0, w.MEM_RELEASE); | 286 | w.VirtualFree(addr, 0, w.MEM_RELEASE); |
| 287 | const alloc_size = n + alignment - mem.page_size; | 287 | const alloc_size = n + alignment - mem.page_size; |
| 288 | | 288 | |