[PATCH libinput 1/7] test: litest_is_button_event should take an unsigned int

Hans de Goede hdegoede at redhat.com
Mon May 4 23:52:25 PDT 2015


Hi,

On 05-05-15 07:43, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

The entire series looks good to me and is:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans


> ---
>   test/litest.c | 2 +-
>   test/litest.h | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/test/litest.c b/test/litest.c
> index 91f2747..c79cca6 100644
> --- a/test/litest.c
> +++ b/test/litest.c
> @@ -1329,7 +1329,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 f1a720c..5d8ce5b 100644
> --- a/test/litest.h
> +++ b/test/litest.h
> @@ -176,7 +176,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,
>


More information about the wayland-devel mailing list