diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2014-06-09 22:26:22 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2014-06-09 22:26:22 +0200 |
commit | 864232bcb200f1bc7a421aeb1c2ed12739c8a787 (patch) | |
tree | 802ce7ff859ce6f18bec45c5d2a9a9c20dbe56ed | |
parent | e912d620d0f20f415b4d3dde967648e4b9c317b9 (diff) |
evdev: Migrate rest of 32 bit time variables to uint64_t
Makes tests pass again with long uptime.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
-rw-r--r-- | src/evdev.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/evdev.c b/src/evdev.c index 7a50f8e..51ad5e3 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) |