summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmthread04/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtmtests/psxtmthread04/init.c')
-rw-r--r--testsuites/psxtmtests/psxtmthread04/init.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuites/psxtmtests/psxtmthread04/init.c b/testsuites/psxtmtests/psxtmthread04/init.c
index 28e1833a8a..dc1290c56a 100644
--- a/testsuites/psxtmtests/psxtmthread04/init.c
+++ b/testsuites/psxtmtests/psxtmthread04/init.c
@@ -26,10 +26,10 @@ void *POSIX_Init(void *argument);
void benchmark_pthread_getschedparam(void)
{
- long end_time;
- int status;
- int policy;
- struct sched_param param;
+ uint32_t end_time;
+ int status;
+ int policy;
+ struct sched_param param;
benchmark_timer_initialize();
status = pthread_getschedparam( pthread_self(), &policy, &param );
@@ -48,10 +48,10 @@ void benchmark_pthread_getschedparam(void)
void benchmark_pthread_setschedparam(void)
{
- long end_time;
- int status;
- int policy;
- struct sched_param param;
+ uint32_t end_time;
+ int status;
+ int policy;
+ struct sched_param param;
status = pthread_getschedparam( pthread_self(), &policy, &param );
rtems_test_assert( status == 0 );