From 59aa7c46d5240ad7e1cf6dc2e9135abf3cf8eac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Tue, 23 Feb 2021 14:45:27 -0300 Subject: [PATCH] evtest: fix time64 patch. --- srcpkgs/evtest/patches/time64.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/evtest/patches/time64.patch b/srcpkgs/evtest/patches/time64.patch index f1a18fd3ad2..9d7e12b4b14 100644 --- a/srcpkgs/evtest/patches/time64.patch +++ b/srcpkgs/evtest/patches/time64.patch @@ -5,7 +5,7 @@ code = ev[i].code; - printf("Event: time %ld.%06ld, ", ev[i].time.tv_sec, ev[i].time.tv_usec); -+ printf("Event: time %ld.%06ld, ", ev[i].input_event_sec, ev[i].input_event_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)