summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx06/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:33:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:33:28 +0000
commitf8700f776e4457614beefa4245a6a895344a355d (patch)
tree31a418b0b688edde7017f2d8d9c77b7ce20effbd /testsuites/psxtests/psx06/init.c
parentadded ifdef to avoid warning for unused variable. (diff)
downloadrtems-f8700f776e4457614beefa4245a6a895344a355d.tar.bz2
corrected printf specifications and added casts as necessary to eliminate
warnings.
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 )