summaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2019-02-07 14:58:59 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2019-02-07 14:58:59 +1000
commiteb48a9e9b9b7934a776bed1a70e9ddc599e2d1e2 (patch)
tree91dfebd7db74ba06d096f6850371f699b2222ffb /src/evdev.c
parent5222920d44366bb25e65b303d71477396a37bfb4 (diff)
downloadlibinput-eb48a9e9b9b7934a776bed1a70e9ddc599e2d1e2.tar.gz
evdev: fix a a compiler warning
Implicit enum conversion Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 38c14bf1..35f084a0 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -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];