aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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(