Index: apps/plugins/maze.c =================================================================== --- apps/plugins/maze.c (revision 18034) +++ apps/plugins/maze.c (working copy) @@ -112,7 +112,7 @@ void coord_stack_push(struct coord_stack* stack, int x, int y) { - stack->data[stack->stp] = ((x<<8)|y); + stack->data[stack->stp] = ((x<<8)|(y&255)); stack->stp++; }