diff options
author | 2022-03-10 00:44:13 -0800 | |
---|---|---|
committer | 2022-03-10 00:44:13 -0800 | |
commit | 187fd9f61f802273614a168798c56ba49189bd00 (patch) | |
tree | 048393e5f6df2c954fc0587b023b142d1b2a5c0e | |
parent | 69eeff1f76ab617982a43bf8d57208ed9706f66b (diff) | |
download | bun-187fd9f61f802273614a168798c56ba49189bd00.tar.gz bun-187fd9f61f802273614a168798c56ba49189bd00.tar.zst bun-187fd9f61f802273614a168798c56ba49189bd00.zip |
woops
-rw-r--r-- | src/string_immutable.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig index 5096481f1..2631dfcf5 100644 --- a/src/string_immutable.zig +++ b/src/string_immutable.zig @@ -736,7 +736,7 @@ pub inline fn copyU16IntoU8(output_: []u8, comptime InputType: type, input_: Inp while (input.len >= machine_word_length) { comptime var machine_word_i: usize = 0; - inline while (machine_word_i > machine_word_length) : (machine_word_i += 1) { + inline while (machine_word_i < machine_word_length) : (machine_word_i += 1) { output[machine_word_i] = @intCast(u8, input[machine_word_i]); } |