mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
ast_ternary_codegen: use codegen_outpu_type
This commit is contained in:
parent
0dfd3136e5
commit
0c8bacd134
1 changed files with 2 additions and 0 deletions
2
ast.c
2
ast.c
|
@ -2346,6 +2346,8 @@ bool ast_ternary_codegen(ast_ternary *self, ast_function *func, bool lvalue, ir_
|
|||
self->expression.outr = ir_phi_value(phi);
|
||||
*out = self->expression.outr;
|
||||
|
||||
codegen_output_type(self, *out);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue