The conditional expression of the conditional operator has invalid data type. The conditional expression must be of type ...