From 1b44066dbd1ec18e0b74eebab36da740b281f807 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Thu, 23 Apr 2020 20:37:05 +0200 Subject: [PATCH] tests/xtimer_msg: Use %lu to print times --- tests/xtimer_msg/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xtimer_msg/main.c b/tests/xtimer_msg/main.c index ecb8af2eb9..49f0b73348 100644 --- a/tests/xtimer_msg/main.c +++ b/tests/xtimer_msg/main.c @@ -60,7 +60,7 @@ void *timer_thread(void *arg) msg_receive(&m); struct timer_msg *tmsg = m.content.ptr; uint32_t now = xtimer_now_usec(); - printf("now=%" PRIu32 ":%" PRIu32 " -> every %" PRIu32 ".%" PRIu32 "s: %s\n", + printf("now=%lu:%lu -> every %lu.%lus: %s\n", (now / US_PER_SEC), (now % US_PER_SEC), tmsg->interval / US_PER_SEC,