evdev: Migrate rest of 32 bit time variables to uint64_t
authorJonas Ådahl <jadahl@gmail.com>
Mon, 9 Jun 2014 20:26:22 +0000 (22:26 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 9 Jun 2014 20:26:22 +0000 (22:26 +0200)
Makes tests pass again with long uptime.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/evdev.c

index 7a50f8e4aafc7ecd24f1f04c2f7538298ffb3198..51ad5e31a9eeea345abcf599f835140702c16916 100644 (file)
@@ -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)