diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2020-04-28 19:10:09 -0600 |
|---|---|---|
| committer | Tadeo Kondrak <me@tadeo.ca> | 2020-04-28 19:11:31 -0600 |
| commit | 350b2adacda217014dc511ccc4cd73f22ddaac22 (patch) | |
| tree | 519115799840c1abe4be6aa708a3ca5079fbd817 /lib/std/heap.zig | |
| parent | eb183ad9febef775efabb1a4592f84d6cf088c28 (diff) | |
| download | zig-350b2adacda217014dc511ccc4cd73f22ddaac22.tar.gz zig-350b2adacda217014dc511ccc4cd73f22ddaac22.zip | |
std.meta.IntType -> std.meta.Int
Diffstat (limited to 'lib/std/heap.zig')
| -rw-r--r-- | lib/std/heap.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/heap.zig b/lib/std/heap.zig index e4a409b218..3e00ca5d59 100644 --- a/lib/std/heap.zig +++ b/lib/std/heap.zig @@ -1015,7 +1015,7 @@ fn testAllocatorLargeAlignment(allocator: *mem.Allocator) mem.Allocator.Error!vo // very near usize? if (mem.page_size << 2 > maxInt(usize)) return; - const USizeShift = std.meta.IntType(false, std.math.log2(usize.bit_count)); + const USizeShift = std.meta.Int(false, std.math.log2(usize.bit_count)); const large_align = @as(u29, mem.page_size << 2); var align_mask: usize = undefined; |
