From a691dc51d2844437c9dcfe5f34b028a76877a642 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 2 Dec 2025 17:31:35 +0200 Subject: [PATCH] tests: Address compilation warns/error on arm32 (format) Switch to using inttypes for addressing compliation errors on other platforms (arm32). Signed-off-by: Marius Vlad --- tests/input-timestamps-helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/input-timestamps-helper.c b/tests/input-timestamps-helper.c index a06257392..2f769a076 100644 --- a/tests/input-timestamps-helper.c +++ b/tests/input-timestamps-helper.c @@ -79,8 +79,8 @@ input_timestamp(void *data, timespec_from_proto(timestamp, tv_sec_hi, tv_sec_lo, tv_nsec); - testlog("test-client: got input timestamp %ld.%ld\n", - timestamp->tv_sec, timestamp->tv_nsec); + testlog("test-client: got input timestamp %" PRIu64 ".%ld\n", + (uint64_t) timestamp->tv_sec, timestamp->tv_nsec); } static const struct zwp_input_timestamps_v1_listener