summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx06/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx06/init.c')
-rw-r--r--testsuites/psxtests/psx06/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psx06/init.c b/testsuites/psxtests/psx06/init.c
index bc66cf3ef2..b07fad1101 100644
--- a/testsuites/psxtests/psx06/init.c
+++ b/testsuites/psxtests/psx06/init.c
@@ -95,7 +95,7 @@ void *POSIX_Init(
key_data = pthread_getspecific( Key_id );
printf( "Init: Got the key value of %ld\n",
- (rtems_unsigned32 *)key_data - Data_array );
+ (unsigned long) ((rtems_unsigned32 *)key_data - Data_array) );
remaining = sleep( 3 );
if ( remaining )