Skip to content
Browse files
Change has_visited to uint8_t
Since it is a boolean value we don't need all of that storage.
  • Loading branch information
StefanBossbaly committed Mar 6, 2014
1 parent 422791a commit 2f2773a4e45dcd3e8f78ef8edb472f4dabd3d7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 nav.h
@@ -12,7 +12,7 @@ extern "C"
struct nav_cell
int flood_num;
int has_visited;
uint8_t has_visited;
uint8_t wall;
int row;
int column;

0 comments on commit 2f2773a

Please sign in to comment.