From: Peter Hutterer Date: Sun, 3 May 2015 23:30:51 +0000 (+1000) Subject: test: litest_is_button_event should take an unsigned int X-Git-Tag: upstream/0.15.0+92+gec468e8~69 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=799ee6c53ea8679b6c57bf073a928cd2996b1cb4;p=platform%2Fupstream%2Flibinput.git test: litest_is_button_event should take an unsigned int Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede --- diff --git a/test/litest.c b/test/litest.c index 21ddca2..e39af5f 100644 --- a/test/litest.c +++ b/test/litest.c @@ -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; diff --git a/test/litest.h b/test/litest.h index 23a8e87..83859c2 100644 --- a/test/litest.h +++ b/test/litest.h @@ -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,