@@ -917,10 +917,10 @@ static struct symbol *evaluate_binop(struct expression *expr)
rtype = integer_promotion(rtype);
} else {
// The rest do usual conversions
- const unsigned left_not = expr->left->type == EXPR_PREOP
- && expr->left->op == '!';
- const unsigned right_not = expr->right->type == EXPR_PREOP
- && expr->right->op == '!';
+ int left_not = expr->left->type == EXPR_PREOP
+ && expr->left->op == '!';
+ int right_not = expr->right->type == EXPR_PREOP
+ && expr->right->op == '!';
if ((op == '&' || op == '|') && (left_not || right_not))
warning(expr->pos, "dubious: %sx %c %sy",
left_not ? "!" : "",
The expressions are just ints, and const is pointess. Signed-off-by: Phil Carmody <phil@dovecot.fi> --- evaluate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)