Changed short dir[] to unsigned char dir[] in fast-edge.c
Change short dir[] to unsigned char dir[] in fast-edge.c