diff options
| author | Vexu <git@vexu.eu> | 2020-02-24 23:39:03 +0200 |
|---|---|---|
| committer | Vexu <git@vexu.eu> | 2020-02-24 23:39:03 +0200 |
| commit | 538d9a5dd8e0eca02d363bbd5f749405e003f1c6 (patch) | |
| tree | d8ac99c166bbf72605c4d0ac3413c13d2c52b3bd /lib/std/heap.zig | |
| parent | 3458fb891d8c7072a9bff6a32db9f3105ab72aa4 (diff) | |
| download | zig-538d9a5dd8e0eca02d363bbd5f749405e003f1c6.tar.gz zig-538d9a5dd8e0eca02d363bbd5f749405e003f1c6.zip | |
remove uses of `@ArgType` and `@IntType`
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 135d7297a2..4295f1393d 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 = @IntType(false, std.math.log2(usize.bit_count)); + const USizeShift = std.meta.IntType(false, std.math.log2(usize.bit_count)); const large_align = @as(u29, mem.page_size << 2); var align_mask: usize = undefined; |
