comparison arogue5/maze.c @ 300:0250220d8cdd

Fix an assortment of compiler warnings. A few potential bugs were removed in the process. Much code cleanup remains to be done.
author John "Elwin" Edwards
date Fri, 22 Nov 2019 21:18:27 -0500
parents 56e748983fa8
children
comparison
equal deleted inserted replaced
299:74351bf23e5e 300:0250220d8cdd
20 char y_pos; 20 char y_pos;
21 char x_pos; 21 char x_pos;
22 }; 22 };
23 23
24 struct bordercells { 24 struct bordercells {
25 char num_pos; /* number of frontier cells next to you */ 25 unsigned char num_pos; /* number of frontier cells next to you */
26 struct cell conn[4]; /* the y,x position of above cell */ 26 struct cell conn[4]; /* the y,x position of above cell */
27 } border_cells; 27 } border_cells;
28 28
29 static char *frontier, 29 static char *frontier,
30 *bits; 30 *bits;