diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-09-03 10:16:43 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-09-04 09:08:05 -0500 |
commit | de549c3df9310861ccd4b19ef837bb94565b2290 (patch) | |
tree | babd9997da5f84ccd12edc07126000fad14f5c30 /testsuites/psxtmtests/psxtmthread05 | |
parent | spfreechain01/init.c: Use %zd for size_t to eliminate warning (diff) | |
download | rtems-de549c3df9310861ccd4b19ef837bb94565b2290.tar.bz2 |
Misc psxtmtests: Use uint32_t not long for end_time to match printf() format expectations
Diffstat (limited to 'testsuites/psxtmtests/psxtmthread05')
-rw-r--r-- | testsuites/psxtmtests/psxtmthread05/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/psxtmtests/psxtmthread05/init.c b/testsuites/psxtmtests/psxtmthread05/init.c index 98346b6be6..f127663fab 100644 --- a/testsuites/psxtmtests/psxtmthread05/init.c +++ b/testsuites/psxtmtests/psxtmthread05/init.c @@ -54,7 +54,8 @@ void *test_thread( void *argument ) { - long end_time; + uint32_t end_time; + sched_yield(); end_time = benchmark_timer_read(); |