From 469daed335c664c0bb159386a0b713a53430722b Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 11 Nov 2020 13:18:26 +0900 Subject: [PATCH] testing/getprime/getprime_main.c: Fix a printf format warning --- testing/getprime/getprime_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/getprime/getprime_main.c b/testing/getprime/getprime_main.c index 118c78e9c..b4342e95b 100644 --- a/testing/getprime/getprime_main.c +++ b/testing/getprime/getprime_main.c @@ -178,6 +178,6 @@ int main(int argc, FAR char *argv[]) elapsed -= (((uint64_t)ts0.tv_sec * NSEC_PER_SEC) + ts0.tv_nsec); elapsed /= NSEC_PER_MSEC; /* msec */ - printf("%s took %ld msec \n", argv[0], elapsed); + printf("%s took %" PRIu64 " msec \n", argv[0], elapsed); return 0; }