mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-07 15:01:10 +00:00
Fix that typecast
This commit is contained in:
parent
10b75fd8b9
commit
24fc2e5146
1 changed files with 1 additions and 1 deletions
2
ast.c
2
ast.c
|
@ -2534,7 +2534,7 @@ bool ast_ifthen_codegen(ast_ifthen *self, ast_function *func, bool lvalue, ir_va
|
||||||
cond = func->curblock;
|
cond = func->curblock;
|
||||||
|
|
||||||
/* try constant folding away the if */
|
/* try constant folding away the if */
|
||||||
if ((fold = fold_cond((ast_value*)condval, func, self)) != -1)
|
if ((fold = fold_cond(condval, func, self)) != -1)
|
||||||
return fold;
|
return fold;
|
||||||
|
|
||||||
if (self->on_true) {
|
if (self->on_true) {
|
||||||
|
|
Loading…
Reference in a new issue