Skip to content

Commit

Permalink
Fix minor error
Browse files Browse the repository at this point in the history
  • Loading branch information
RetroDev256 authored Sep 25, 2024
1 parent 0807655 commit c5b9e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/static_string_map.zig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn StaticStringMapIgnoreCase(comptime V: type) type {
}

fn defaultEql(comptime len: usize, comptime expected: [len]u8, actual: [len]u8) bool {
const Compare = std.meta.Int(.unsigned, len * std.mem.byte_size_in_bits);
const Compare = std.meta.Int(.unsigned, len * 8);
const a: Compare = @bitCast(expected);
const b: Compare = @bitCast(actual);
return a == b;
Expand Down

0 comments on commit c5b9e07

Please sign in to comment.