aboutsummaryrefslogtreecommitdiff
path: root/sway/input/libinput.c
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2020-06-04 15:43:42 +0200
committerTudor Brindus <me@tbrindus.ca>2020-07-30 22:02:42 -0400
commitbbf7b92fe4b34288dbe7c58827a1f69428ffb263 (patch)
tree2837fac64c52cb5f51cc49367a40099068374de1 /sway/input/libinput.c
parenta1c6052383d382d978ca597dc5fb280c0343db60 (diff)
Fix incorrect format specifiers
Diffstat (limited to 'sway/input/libinput.c')
-rw-r--r--sway/input/libinput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/libinput.c b/sway/input/libinput.c
index 4ec72882..108fc7b2 100644
--- a/sway/input/libinput.c
+++ b/sway/input/libinput.c
@@ -19,7 +19,7 @@ static bool set_send_events(struct libinput_device *device, uint32_t mode) {
if (libinput_device_config_send_events_get_mode(device) == mode) {
return false;
}
- sway_log(SWAY_DEBUG, "send_events_set_mode(%d)", mode);
+ sway_log(SWAY_DEBUG, "send_events_set_mode(%" PRIu32 ")", mode);
log_status(libinput_device_config_send_events_set_mode(device, mode));
return true;
}
@@ -150,7 +150,7 @@ static bool set_scroll_button(struct libinput_device *dev, uint32_t button) {
libinput_device_config_scroll_get_button(dev) == button) {
return false;
}
- sway_log(SWAY_DEBUG, "scroll_set_button(%d)", button);
+ sway_log(SWAY_DEBUG, "scroll_set_button(%" PRIu32 ")", button);
log_status(libinput_device_config_scroll_set_button(dev, button));
return true;
}