cc -obm -I/opt/X11/include -L/opt/X11/lib -O2 bm.c -lX11
bm.c:85:47: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
XGetGeometry(display, win, winRoot, &x, &y, &w, &h, &bw, &de);
^~
/opt/X11/include/X11/Xlib.h:2640:37: note: passing argument to parameter here
unsigned int* /* width_return */,
^
bm.c:85:51: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
XGetGeometry(display, win, winRoot, &x, &y, &w, &h, &bw, &de);
^~
/opt/X11/include/X11/Xlib.h:2641:38: note: passing argument to parameter here
unsigned int* /* height_return */,
^
bm.c:85:55: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
XGetGeometry(display, win, winRoot, &x, &y, &w, &h, &bw, &de);
^~~
/opt/X11/include/X11/Xlib.h:2642:44: note: passing argument to parameter here
unsigned int* /* border_width_return */,
^
bm.c:85:60: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
XGetGeometry(display, win, winRoot, &x, &y, &w, &h, &bw, &de);
^~~
/opt/X11/include/X11/Xlib.h:2644:1: note: passing argument to parameter here
);
^
4 warnings generated.