diff --git a/lib/compiler/aro/aro/Preprocessor/Parser.zig b/lib/compiler/aro/aro/Preprocessor/Parser.zig index c9a964b44ce5ac3e48cf3ca711218d478d8ff46c..d005e02385b312daa7bb616ef6c77788fd94b351 100644 --- a/lib/compiler/aro/aro/Preprocessor/Parser.zig +++ b/lib/compiler/aro/aro/Preprocessor/Parser.zig @@ -323,7 +323,7 @@ fn binaryExpr(p: *Parser, min_prec: Token.Precedence, eval: bool) Error!?Value { const else_res = try p.binaryExpr(op_prec, eval_else) orelse return null; lhs = if (lhs.toBool()) rhs else else_res; - if ((eval and rhs == .unsigned) or else_res == .unsigned) { + if (rhs == .unsigned or else_res == .unsigned) { try lhs.toUnsigned(p, operator, "right"); } },