testing/getprime/getprime_main.c: Fix a printf format warning

This commit is contained in:
YAMAMOTO Takashi 2020-11-11 13:18:26 +09:00 committed by Xiang Xiao
parent 5a766cd93b
commit 469daed335

View File

@ -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;
}