summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmthread05
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-03 10:16:43 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-04 09:08:05 -0500
commitde549c3df9310861ccd4b19ef837bb94565b2290 (patch)
treebabd9997da5f84ccd12edc07126000fad14f5c30 /testsuites/psxtmtests/psxtmthread05
parentspfreechain01/init.c: Use %zd for size_t to eliminate warning (diff)
downloadrtems-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.c3
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();