Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- test/touchpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/touchpad.c b/test/touchpad.c index 0169bd7..9a4aa6c 100644 --- a/test/touchpad.c +++ b/test/touchpad.c @@ -4427,8 +4427,8 @@ START_TEST(touchpad_jump_finger_motion) ptrev = litest_is_motion_event(event); dx = libinput_event_pointer_get_dx(ptrev); dy = libinput_event_pointer_get_dy(ptrev); - ck_assert_int_lt(abs(dx), 20); - ck_assert_int_lt(abs(dy), 20); + ck_assert_int_lt(abs((int)dx), 20); + ck_assert_int_lt(abs((int)dy), 20); libinput_event_destroy(event); event = libinput_get_event(li); -- 2.9.3 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel