aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-01-26 20:59:47 +0100
committerGuido Günther <agx@sigxcpu.org>2018-01-27 12:23:26 +0100
commit1633b8d793515464b56fe58d1eb62345db04c119 (patch)
tree16924342c521cf116ce6a4a18fae935b3c61e63d /xwayland/xwm.c
parent174d1aa81bac9d8795e7047686d51c5b7e75d578 (diff)
wlr_keyboard: use correct printf format string for keymap_size
keymap_size is a size_t. Otherwise the build fails on arm like ../types/wlr_keyboard.c: In function 'wlr_keyboard_set_keymap': ../include/wlr/util/log.h:34:17: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka unsigned int}' [-Werror=format=] _wlr_log(verb, "[%s:%d] " fmt, _strip_path(__FILE__), __LINE__, ##__VA_ARGS__) ^ ../types/wlr_keyboard.c:218:3: note: in expansion of macro 'wlr_log' wlr_log(L_ERROR, "creating a keymap file for %lu bytes failed", kb->keymap_size); ^~~~~~~ ../types/wlr_keyboard.c:218:50: note: format string is defined here wlr_log(L_ERROR, "creating a keymap file for %lu bytes failed", kb->keymap_size); ~~^ %u
Diffstat (limited to 'xwayland/xwm.c')
0 files changed, 0 insertions, 0 deletions