std.meta.IntType -> std.meta.Int

This commit is contained in:
Tadeo Kondrak
2020-04-28 19:10:09 -06:00
parent eb183ad9fe
commit 350b2adacd
40 changed files with 107 additions and 107 deletions

View File

@@ -1037,7 +1037,7 @@ pub const dl_phdr_info = extern struct {
pub const CPU_SETSIZE = 128;
pub const cpu_set_t = [CPU_SETSIZE / @sizeOf(usize)]usize;
pub const cpu_count_t = std.meta.IntType(false, std.math.log2(CPU_SETSIZE * 8));
pub const cpu_count_t = std.meta.Int(false, std.math.log2(CPU_SETSIZE * 8));
pub fn CPU_COUNT(set: cpu_set_t) cpu_count_t {
var sum: cpu_count_t = 0;