Linus: print format fixes to build with clang on IFC6410

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-20 11:15:12 -07:00
parent 5f3496353c
commit 62eb403e4d
4 changed files with 8 additions and 8 deletions
@@ -53,14 +53,14 @@ int HRTTest::main()
hrt_abstime t = hrt_absolute_time();
usleep(1000000);
hrt_abstime elt = hrt_elapsed_time(&t);
printf("Elapsed time %lu in 1 sec (usleep)\n", elt);
printf("Start time %lu\n", t);
printf("Elapsed time %llu in 1 sec (usleep)\n", elt);
printf("Start time %llu\n", t);
t = hrt_absolute_time();
sleep(1);
elt = hrt_elapsed_time(&t);
printf("Elapsed time %lu in 1 sec (sleep)\n", elt);
printf("Start time %lu\n", t);
printf("Elapsed time %llu in 1 sec (sleep)\n", elt);
printf("Start time %llu\n", t);
return 0;
}