diff options
Diffstat (limited to 'c/src/tests/psxtests/psx06/task.c')
-rw-r--r-- | c/src/tests/psxtests/psx06/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/tests/psxtests/psx06/task.c b/c/src/tests/psxtests/psx06/task.c index 98e34117b5..706c8ccef9 100644 --- a/c/src/tests/psxtests/psx06/task.c +++ b/c/src/tests/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 ); |