mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
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
|
||
|---|---|---|
| .. | ||
| meson.build | ||
| wlr_box.c | ||
| wlr_compositor.c | ||
| wlr_cursor.c | ||
| wlr_data_device.c | ||
| wlr_gamma_control.c | ||
| wlr_idle.c | ||
| wlr_input_device.c | ||
| wlr_keyboard.c | ||
| wlr_list.c | ||
| wlr_output.c | ||
| wlr_output_layout.c | ||
| wlr_pointer.c | ||
| wlr_primary_selection.c | ||
| wlr_region.c | ||
| wlr_screenshooter.c | ||
| wlr_seat.c | ||
| wlr_server_decoration.c | ||
| wlr_surface.c | ||
| wlr_tablet_pad.c | ||
| wlr_tablet_tool.c | ||
| wlr_touch.c | ||
| wlr_wl_shell.c | ||
| wlr_xcursor_manager.c | ||
| wlr_xdg_shell_v6.c | ||