aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-07 21:53:31 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-07 21:53:31 -0800
commit9f10724eda493222bb895c8be67a7934f173ad93 (patch)
tree84e3a8d454a98da2c254794802b0da62a610186a
parentbb8c803bdff17a7045daeb4c7b1f7b7b0df35e41 (diff)
downloadbun-9f10724eda493222bb895c8be67a7934f173ad93.tar.gz
bun-9f10724eda493222bb895c8be67a7934f173ad93.tar.zst
bun-9f10724eda493222bb895c8be67a7934f173ad93.zip
cast
Diffstat (limited to '')
-rw-r--r--src/env_loader.zig2
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(