diff options
author | 2022-11-12 00:55:52 +0100 | |
---|---|---|
committer | 2022-11-12 00:55:52 +0100 | |
commit | 5c8b61f843c3cefd59409a7907b43ece0804a480 (patch) | |
tree | 9bb8d1af3d1e8ecefa6b179dd689e3d12b382c86 | |
parent | 8ea81203ed20692015570a2d8d6bcecbcf712560 (diff) | |
download | bun-5c8b61f843c3cefd59409a7907b43ece0804a480.tar.gz bun-5c8b61f843c3cefd59409a7907b43ece0804a480.tar.zst bun-5c8b61f843c3cefd59409a7907b43ece0804a480.zip |
Fix: @ctz - expected 1 argument, found 2
-rw-r--r-- | src/js_lexer.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js_lexer.zig b/src/js_lexer.zig index 3a5cd3999..056e777db 100644 --- a/src/js_lexer.zig +++ b/src/js_lexer.zig @@ -3012,7 +3012,7 @@ fn indexOfInterestingCharacterInStringLiteral(text_: []const u8, quote: u8) ?usi if (@reduce(.Max, any_significant) > 0) { const bitmask = @ptrCast(*const u16, &any_significant).*; - const first = @ctz(u16, bitmask); + const first = @ctz(@as(u16, bitmask)); std.debug.assert(first < strings.ascii_vector_size); return first + (@ptrToInt(text.ptr) - @ptrToInt(text_.ptr)); } |