mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 13:38:40 +02:00
evdev: fix a a compiler warning
Implicit enum conversion Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
5222920d44
commit
eb48a9e9b9
1 changed files with 1 additions and 1 deletions
|
|
@ -1974,7 +1974,7 @@ libevdev_log_func(const struct libevdev *evdev,
|
||||||
va_list args)
|
va_list args)
|
||||||
{
|
{
|
||||||
struct libinput *libinput = data;
|
struct libinput *libinput = data;
|
||||||
enum libinput_log_priority pri = LIBEVDEV_LOG_ERROR;
|
enum libinput_log_priority pri = LIBINPUT_LOG_PRIORITY_ERROR;
|
||||||
const char prefix[] = "libevdev: ";
|
const char prefix[] = "libevdev: ";
|
||||||
char fmt[strlen(format) + strlen(prefix) + 1];
|
char fmt[strlen(format) + strlen(prefix) + 1];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue