Skip to content

Commit edda22b

Browse files
Update to latest zig
1 parent dd130fe commit edda22b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/bitap.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pub fn bitap(
1919
assert(@typeInfo(ElemType) == .Int);
2020
assert(pattern.len <= max_pattern_length);
2121

22-
const Int = std.meta.Int(false, max_pattern_length + 1);
23-
const Log2Int = std.meta.Int(false, std.math.log2(max_pattern_length + 1));
22+
const Int = std.meta.Int(.unsigned, max_pattern_length + 1);
23+
const Log2Int = std.meta.Int(.unsigned, std.math.log2(max_pattern_length + 1));
2424
const possible_values = possibleValues(ElemType);
2525

2626
if (pattern.len == 0) return 0;

0 commit comments

Comments
 (0)