test: litest_is_button_event should take an unsigned int

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Peter Hutterer 2015-05-04 09:30:51 +10:00
parent 0cd36225d7
commit 799ee6c53e
2 changed files with 2 additions and 2 deletions

View file

@ -1457,7 +1457,7 @@ litest_create_uinput_device(const char *name, struct input_id *id, ...)
struct libinput_event_pointer*
litest_is_button_event(struct libinput_event *event,
int button,
unsigned int button,
enum libinput_button_state state)
{
struct libinput_event_pointer *ptrev;

View file

@ -198,7 +198,7 @@ void litest_drain_events(struct libinput *li);
void litest_assert_empty_queue(struct libinput *li);
struct libinput_event_pointer * litest_is_button_event(
struct libinput_event *event,
int button,
unsigned int button,
enum libinput_button_state state);
void litest_assert_button_event(struct libinput *li,
unsigned int button,