]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Make it compile as C++ code again.
authorDale Weiler <killfieldengine@gmail.com>
Wed, 6 Feb 2013 10:36:27 +0000 (10:36 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Wed, 6 Feb 2013 10:36:27 +0000 (10:36 +0000)
parser.c

index bc490733b2d27f3cd3239c04546fcaf5b1accd71..681207c192c01d55b74f565856ae537d78b6fdaa 100644 (file)
--- 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,