summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-02-20 16:57:55 +0100
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-02-21 13:21:09 +0100
commita7d299425602dc7d8d6baffb8d483c37855e4281 (patch)
tree73808f6161a4f35fd4ab94c1e48af5bf91096098
parentc6b4d2732f1b6bdf2235fe0796805f28776c0819 (diff)
fix int type mismatches in printf()-like calls
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
-rw-r--r--src/xf86libinput.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 91af896..c23e437 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -517,7 +517,7 @@ LibinputApplyConfigSendEvents(DeviceIntPtr dev,
libinput_device_config_send_events_set_mode(device,
driver_data->options.sendevents) != LIBINPUT_CONFIG_STATUS_SUCCESS)
xf86IDrvMsg(pInfo, X_ERROR,
- "Failed to set SendEventsMode %u\n",
+ "Failed to set SendEventsMode %lu\n",
driver_data->options.sendevents);
}
@@ -792,7 +792,7 @@ LibinputApplyConfigScrollMethod(DeviceIntPtr dev,
scroll_button = btn_xorg2linux(driver_data->options.scroll_button);
if (libinput_device_config_scroll_set_button(device, scroll_button) != LIBINPUT_CONFIG_STATUS_SUCCESS)
xf86IDrvMsg(pInfo, X_ERROR,
- "Failed to set ScrollButton to %u\n",
+ "Failed to set ScrollButton to %lu\n",
driver_data->options.scroll_button);
}
@@ -3245,7 +3245,7 @@ xf86libinput_parse_scrollbutton_option(InputInfoPtr pInfo,
if (libinput_device_config_scroll_set_button(device,
b) != LIBINPUT_CONFIG_STATUS_SUCCESS) {
xf86IDrvMsg(pInfo, X_ERROR,
- "Failed to set ScrollButton to %u\n",
+ "Failed to set ScrollButton to %lu\n",
scroll_button);
scroll_button = btn_linux2xorg(libinput_device_config_scroll_get_button(device));
}
@@ -4224,7 +4224,7 @@ xf86libinput_check_device(DeviceIntPtr dev,
if (dev->public.on)
xf86IDrvMsg(pInfo, X_WARNING, "BUG: xf86libinput_check_device() device is on\n");
xf86IDrvMsg(pInfo, X_INFO,
- "SetProperty on %u called but device is disabled.\n"
+ "SetProperty on %lu called but device is disabled.\n"
"This driver cannot change properties on a disabled device\n",
atom);
return FALSE;