testing/getprime/getprime_main.c: Fix a printf format warning
This commit is contained in:
parent
5a766cd93b
commit
469daed335
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user