Fixed signedness issue on GLX