Compiler warning from xkb.h on 32bit system
Submitted by Gatis Paeglis
Assigned to xcb mailing list dummy
Description
xkb.h:118:5: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
It comes from:
typedef enum xcb_xkb_control_t {
XCB_XKB_CONTROL_GROUPS_WRAP = 134217728,
XCB_XKB_CONTROL_INTERNAL_MODS = 268435456,
XCB_XKB_CONTROL_IGNORE_LOCK_MODS = 536870912,
XCB_XKB_CONTROL_PER_KEY_REPEAT = 1073741824,
XCB_XKB_CONTROL_CONTROLS_ENABLED = 2147483648
} xcb_xkb_control_t;
appending "u" to
XCB_XKB_CONTROL_PER_KEY_REPEAT = 1073741824u,
XCB_XKB_CONTROL_CONTROLS_ENABLED = 2147483648u
make the warning go away.
Edited by Alan Coopersmith