mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
std.heap.DebugAllocator: make BucketHeader.fromPage() use wrapping arithmetic
If we've allocated the very last page in the address space then these operations will overflow and underflow respectively - which is fine.
This commit is contained in:
parent
a9d18c4a0c
commit
b5bcbf2a62
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue