Message ID | 20170331014459.9351-25-luc.vanoostenryck@gmail.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
diff --git a/evaluate.c b/evaluate.c index 0cec215ba..df6fd5adc 100644 --- a/evaluate.c +++ b/evaluate.c @@ -3030,11 +3030,11 @@ static struct symbol *evaluate_call(struct expression *expr) "too many arguments for function %s", show_ident(sym->ident)); } + expr->ctype = ctype->ctype.base_type; if (sym->type == SYM_NODE) { if (evaluate_symbol_call(expr)) return expr->ctype; } - expr->ctype = ctype->ctype.base_type; return expr->ctype; }
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> --- evaluate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)