warning assignment makes interger from pointer without cast
what is wrong with this function
Code:
void update_board_array(char board[][ROW_MAX + 1], char place_character[10], int x_coordinate, int y_coordinate)
{
board[x_coordinate][y_coordinate] = (((y_coordinate % 2 == 0) && (x_coordinate % 2 == 0)) ||
((y_coordinate % 2 != 0) && (x_coordinate % 2 != 0))) ? place_character : INVALID_SQUARE;
}
both the board and the place_character are declared as type char and the x_coordinate and y_coordinate are declared as type int
many thanks
coop