diff options
author | 2022-11-07 21:53:31 -0800 | |
---|---|---|
committer | 2022-11-07 21:53:31 -0800 | |
commit | 9f10724eda493222bb895c8be67a7934f173ad93 (patch) | |
tree | 84e3a8d454a98da2c254794802b0da62a610186a | |
parent | bb8c803bdff17a7045daeb4c7b1f7b7b0df35e41 (diff) | |
download | bun-9f10724eda493222bb895c8be67a7934f173ad93.tar.gz bun-9f10724eda493222bb895c8be67a7934f173ad93.tar.zst bun-9f10724eda493222bb895c8be67a7934f173ad93.zip |
cast
Diffstat (limited to '')
-rw-r--r-- | src/env_loader.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env_loader.zig b/src/env_loader.zig index 6d87b119a..ca8da0652 100644 --- a/src/env_loader.zig +++ b/src/env_loader.zig @@ -51,7 +51,7 @@ pub const Lexer = struct { pub inline fn step(this: *Lexer) void { const ended = !this.iter.next(&this.cursor); if (ended) this.cursor.c = -1; - this.current = this.cursor.i + @boolToInt(ended); + this.current = this.cursor.i + @as(usize, @boolToInt(ended)); } pub fn eatNestedValue( |