From 864232bcb200f1bc7a421aeb1c2ed12739c8a787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 9 Jun 2014 22:26:22 +0200 Subject: [PATCH] evdev: Migrate rest of 32 bit time variables to uint64_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Makes tests pass again with long uptime. Signed-off-by: Jonas Ã…dahl --- src/evdev.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index 7a50f8e4..51ad5e31 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -247,7 +247,8 @@ evdev_flush_pending_event(struct evdev_device *device, uint64_t time) } static void -evdev_process_touch_button(struct evdev_device *device, int time, int value) +evdev_process_touch_button(struct evdev_device *device, + uint64_t time, int value) { if (device->pending_event != EVDEV_NONE && device->pending_event != EVDEV_ABSOLUTE_MOTION) @@ -259,7 +260,8 @@ evdev_process_touch_button(struct evdev_device *device, int time, int value) } static inline void -evdev_process_key(struct evdev_device *device, struct input_event *e, int time) +evdev_process_key(struct evdev_device *device, + struct input_event *e, uint64_t time) { /* ignore kernel key repeat */ if (e->value == 2)