diff --git a/tools/qfcc/include/expr.h b/tools/qfcc/include/expr.h index 08842e3c6..0f5f2624d 100644 --- a/tools/qfcc/include/expr.h +++ b/tools/qfcc/include/expr.h @@ -702,8 +702,8 @@ expr_t *new_nil_expr (void); \return The new args expression node. */ expr_t *new_args_expr (void); -const expr_t *new_call_expr (const expr_t *func, const expr_t *args, - const type_t *ret_type); +expr_t *new_call_expr (const expr_t *func, const expr_t *args, + const type_t *ret_type); /** Create a new value expression node. diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index ef29ae680..33f31c015 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -2083,7 +2083,7 @@ jump_table_expr (const expr_t *table, const expr_t *index) return branch; } -const expr_t * +expr_t * new_call_expr (const expr_t *func, const expr_t *args, const type_t *ret_type) { expr_t *branch = new_expr ();