use
void can mean anything so you may use
PHP Code:
void screen::setSeat(int xSeat, int ySeat, customer *cust)
{
seatsXY[xSeat][ySeat] = (void*)cust;
}
Or if you're 100% shure + it's called a lot + you want speed increase without "type" checking
PHP Code:
void screen::setSeat(int xSeat, int ySeat, customer *cust)
{
seatsXY[xSeat][ySeat] = static_cast<void *>(cust);
}