mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 23:01:58 +00:00
Fix: @ctz - expected 1 argument, found 2
This commit is contained in:
@@ -1397,7 +1397,7 @@ pub fn copyLatin1IntoUTF8StopOnNonASCII(buf_: []u8, comptime Type: type, latin1_
|
||||
buf[0..size].* = @bitCast([size]u8, bytes);
|
||||
|
||||
assert(mask > 0);
|
||||
const first_set_byte = @ctz(Int, mask) / 8;
|
||||
const first_set_byte = @ctz(@as(Int, mask)) / 8;
|
||||
if (comptime Environment.allow_assert) {
|
||||
assert(latin1[first_set_byte] >= 127);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user