evdev: fix a a compiler warning

Implicit enum conversion

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-02-07 14:58:59 +10:00
parent 5222920d44
commit eb48a9e9b9

View file

@ -1974,7 +1974,7 @@ libevdev_log_func(const struct libevdev *evdev,
va_list args)
{
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: ";
char fmt[strlen(format) + strlen(prefix) + 1];