From: Dale Weiler Date: Wed, 6 Feb 2013 10:36:27 +0000 (+0000) Subject: Make it compile as C++ code again. X-Git-Tag: before-library~139 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=eb0e3c28987e00b9108a741f9ef3690b19d12378;p=xonotic%2Fgmqcc.git Make it compile as C++ code again. --- diff --git a/parser.c b/parser.c index bc49073..681207c 100644 --- a/parser.c +++ b/parser.c @@ -1091,7 +1091,7 @@ static bool parser_sy_apply_operator(parser_t *parser, shunt *sy) } else { ast_binary *eq = ast_binary_new(ctx, INSTR_EQ_F, exprs[0], exprs[1]); - eq->refs = false; /* references nothing */ + eq->refs = (ast_binary_ref)false; /* references nothing */ /* if (lt) { */ out = (ast_expression*)ast_ternary_new(ctx,