summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx01/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx01/task.c')
-rw-r--r--testsuites/psxtests/psx01/task.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/psxtests/psx01/task.c b/testsuites/psxtests/psx01/task.c
index 2a9cc379c1..5b8e3801b3 100644
--- a/testsuites/psxtests/psx01/task.c
+++ b/testsuites/psxtests/psx01/task.c
@@ -8,7 +8,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,6 +20,8 @@
#include "system.h"
+void Test_init_routine( void );
+
void Test_init_routine( void )
{
puts( "Test_init_routine: invoked" );
@@ -61,11 +63,11 @@ void *Task_1_through_3(
assert( !status );
puts( "Task_1: pthread_equal - first id bad" );
- status = pthread_equal( -1, Task_id );
+ status = pthread_equal( (pthread_t) -1, Task_id );
assert( !status );
puts( "Task_1: pthread_equal - second id bad" );
- status = pthread_equal( Init_id, -1 );
+ status = pthread_equal( Init_id, (pthread_t) -1 );
assert( !status );
/* exercise pthread_once */