summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx06/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx06/task.c')
-rw-r--r--testsuites/psxtests/psx06/task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psx06/task.c b/testsuites/psxtests/psx06/task.c
index 98e34117b5..706c8ccef9 100644
--- a/testsuites/psxtests/psx06/task.c
+++ b/testsuites/psxtests/psx06/task.c
@@ -37,7 +37,7 @@ void *Task_1(
key_data = pthread_getspecific( Key_id );
printf( "Task_1: Got the key value of %ld\n",
- (rtems_unsigned32 *)key_data - Data_array );
+ (unsigned long) ((rtems_unsigned32 *)key_data - Data_array) );
if ( status )
printf( "status = %d\n", status );
assert( !status );