diff --git a/src/aro/Builtins/eval.zig b/src/aro/Builtins/eval.zig index eca89f43..fd1a9865 100644 --- a/src/aro/Builtins/eval.zig +++ b/src/aro/Builtins/eval.zig @@ -58,7 +58,7 @@ pub fn eval(tag: Builtin.Tag, p: *Parser, args: []const NodeIndex) !Value { .unknown => {}, .finite => return Value.zero, .positive => return Value.one, - .negative => return Value.int(-1, p.comp), + .negative => return Value.int(@as(i64, -1), p.comp), } }, Builtin.tagFromName("__builtin_isnan").? => blk: {