diff --git a/src/cc65/expr.c b/src/cc65/expr.c index faf43a5a1..b539ba138 100644 --- a/src/cc65/expr.c +++ b/src/cc65/expr.c @@ -436,7 +436,7 @@ static unsigned FunctionParamList (FuncDesc* Func) /* No prototype available. Convert array to "pointer to first * element", and function to "pointer to function". */ - Param->Type = PtrConversion (Param->Type) + Expr.Type = PtrConversion (Expr.Type); }