I have the function prototype:
mazeL generateMazeMenu(mazeU maze[MAZEY][MAZEX]);
Being called by the line:
start=generateMazeMenu(maze);
maze is defined as:
short maze[MAZEY][MAZEX];
MAZEY and MAZEX are both #defined as 10, although I may change that later.
MazeU is a union that is the size of a short. In fact, one of it's members is a short.
Everything works as it is supposed to, exept the complier gives me a warning saying that the argument of generateMazeMenu() is an incompatable pointer type. My question is, what should I cast it to to get rid of the warning?