summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmcond01
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/psxtmcond01
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/psxtmcond01')
-rw-r--r--testsuites/psxtmtests/psxtmcond01/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/psxtmtests/psxtmcond01/init.c b/testsuites/psxtmtests/psxtmcond01/init.c
index 7f1f820be1..c4dd63080c 100644
--- a/testsuites/psxtmtests/psxtmcond01/init.c
+++ b/testsuites/psxtmtests/psxtmcond01/init.c
@@ -30,8 +30,8 @@ pthread_cond_t mycondvar;
void benchmark_create_cond_var(void)
{
- long end_time;
- int status;
+ uint32_t end_time;
+ int status;
benchmark_timer_initialize();
status = pthread_cond_init(&mycondvar, NULL);
@@ -49,8 +49,8 @@ void benchmark_create_cond_var(void)
void benchmark_destroy_cond_var(void)
{
- long end_time;
- int status;
+ uint32_t end_time;
+ int status;
benchmark_timer_initialize();
status = pthread_cond_destroy(&mycondvar);