We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e630b20 commit b8f5cfeCopy full SHA for b8f5cfe
lib/std/heap/sbrk_allocator.zig
@@ -59,7 +59,7 @@ pub fn SbrkAllocator(comptime sbrk: *const fn (n: usize) usize) type {
59
}
60
61
const next_addr = next_addrs[class];
62
- if (next_addr % heap.pageSize == 0) {
+ if (next_addr % heap.pageSize() == 0) {
63
const addr = allocBigPages(1);
64
if (addr == 0) return null;
65
//std.debug.print("allocated fresh slot_size={d} class={d} addr=0x{x}\n", .{
0 commit comments