mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Fix incorrect format parameters
This commit is contained in:
parent
39fd2335bf
commit
d9bb792794
13 changed files with 45 additions and 43 deletions
|
|
@ -267,7 +267,7 @@ void wlr_seat_keyboard_enter(struct wlr_seat *seat,
|
|||
for (size_t i = 0; i < num_keycodes; ++i) {
|
||||
uint32_t *p = wl_array_add(&keys, sizeof(uint32_t));
|
||||
if (!p) {
|
||||
wlr_log(WLR_ERROR, "Cannot allocate memory, skipping keycode: %d\n",
|
||||
wlr_log(WLR_ERROR, "Cannot allocate memory, skipping keycode: %" PRIu32 "\n",
|
||||
keycodes[i]);
|
||||
continue;
|
||||
}
|
||||
|
|
@ -449,7 +449,7 @@ void seat_client_create_keyboard(struct wlr_seat_client *seat_client,
|
|||
for (size_t i = 0; i < num_keycodes; ++i) {
|
||||
uint32_t *p = wl_array_add(&keys, sizeof(uint32_t));
|
||||
if (!p) {
|
||||
wlr_log(WLR_ERROR, "Cannot allocate memory, skipping keycode: %d\n",
|
||||
wlr_log(WLR_ERROR, "Cannot allocate memory, skipping keycode: %" PRIu32 "\n",
|
||||
keycodes[i]);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue