From 55d8cb0a7f3ad2f25ee39dee929e933bdfbb3986 Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 12 Jul 2016 17:29:34 +0000 Subject: [PATCH] Added casts to keep printf() happy. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@52782 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- test/timer/getsystime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/timer/getsystime.c b/test/timer/getsystime.c index 4e1032006a..218d45277b 100644 --- a/test/timer/getsystime.c +++ b/test/timer/getsystime.c @@ -24,7 +24,7 @@ int main(int argc, char **argv) if (argc == 2) secs = atoi(argv[1]); - printf("Waiting %u seconds\n", secs); + printf("Waiting %u seconds\n", (unsigned int)secs); if (TimerMP = CreatePort(NULL, 0)) { @@ -44,8 +44,8 @@ int main(int argc, char **argv) SubTime(&t2, &t1); printf("result %u secs %u micros\n", - t2.tv_secs, - t2.tv_micro); + (unsigned int)t2.tv_secs, + (unsigned int)t2.tv_micro); CloseDevice((struct IORequest *)TimerIO); } DeleteExtIO((struct IORequest *)TimerIO); -- 2.11.4.GIT