diff options
Diffstat (limited to 'c/src/tests/psxtests/psx06/task2.c')
-rw-r--r-- | c/src/tests/psxtests/psx06/task2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/tests/psxtests/psx06/task2.c b/c/src/tests/psxtests/psx06/task2.c index 9332b2b3d4..700e10fc9e 100644 --- a/c/src/tests/psxtests/psx06/task2.c +++ b/c/src/tests/psxtests/psx06/task2.c @@ -38,7 +38,7 @@ void *Task_2( key_data = pthread_getspecific( Key_id ); printf( "Task_2: 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 ); |