[FIXED] fix warning argument 7 of ‘XChangeProperty’ differ in signedness

Started by xranby, October 13, 2011, 20:43:14

Previous topic - Next topic

xranby

a minor warning pops up while compiling on ubuntu.

    [apply] /media/go_/LWJGL-svn/src/native/linux/opengl/org_lwjgl_opengl_Display.c:182:6: warning: pointer targets in passing argument 7 of ‘XChangeProperty’ differ in signedness
    [apply] /usr/include/X11/Xlib.h:2075:12: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’

attached patch fix.