Commit bf5229a6 authored by Peter Hutterer's avatar Peter Hutterer

pad: fix a compiler warning

gcc 10 isn't happy with the implicit enum conversion
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 33c98fed
Pipeline #122622 passed with stages
in 27 minutes and 36 seconds
......@@ -395,7 +395,10 @@ pad_notify_button_mask(struct pad_dispatch *pad,
} else if (map_is_key(map)) {
uint32_t key = map_value(map);
tablet_pad_notify_key(base, time, key, state);
tablet_pad_notify_key(base,
time,
key,
(enum libinput_key_state)state);
} else {
abort();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment