Type mismatch (6)

The type of an argument does not match the type required by a function or procedure call, or the type of an operand does not match the type required by an operator.

The requested type and the encountered type are both displayed in the error message.