From 350b2adacda217014dc511ccc4cd73f22ddaac22 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Tue, 28 Apr 2020 19:10:09 -0600 Subject: std.meta.IntType -> std.meta.Int --- lib/std/heap.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/std/heap.zig') 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; -- cgit v1.2.3