void-packages/srcpkgs/evtest/patches/time64.patch
2021-02-23 14:45:54 -03:00

11 lines
410 B
Diff

--- evtest.c 2019-08-02 20:14:30.000000000 +0200
+++ evtest.c 2020-12-11 15:33:15.895384954 +0100
@@ -1139,7 +1139,7 @@
type = ev[i].type;
code = ev[i].code;
- printf("Event: time %ld.%06ld, ", ev[i].time.tv_sec, ev[i].time.tv_usec);
+ printf("Event: time %lld.%06ld, ", (long long)ev[i].input_event_sec, (long)ev[i].input_event_usec);
if (type == EV_SYN) {
if (code == SYN_MT_REPORT)