I have the following code
//Point.h #define WIDTH 8 #define HEIGHT 8 typedef struct Point { char x; char y; } Point; //Board.c #include
Try this:
typedef struct Point { signed char x; signed char y; } Point;