From 097ed5c27d458317a5586f1d20d6960e627c3758 Mon Sep 17 00:00:00 2001 From: p-szafonimateusz Date: Fri, 28 Jun 2024 18:53:45 +0200 Subject: [PATCH] oneshot/oneshot_main.c: fix printf warning fix printf warning in examples/oneshot Signed-off-by: p-szafonimateusz --- examples/oneshot/oneshot_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/oneshot/oneshot_main.c b/examples/oneshot/oneshot_main.c index 155b3e18e..c78975d1f 100644 --- a/examples/oneshot/oneshot_main.c +++ b/examples/oneshot/oneshot_main.c @@ -208,8 +208,8 @@ int main(int argc, FAR char *argv[]) { /* Wait for the maximum */ - printf("Starting oneshot timer with delay %llu microseconds\n", - maxus); + printf("Starting oneshot timer with delay %" PRId64 + " microseconds\n", maxus); start.ts.tv_sec = ts.tv_sec; start.ts.tv_nsec = ts.tv_nsec;