corrected printf specifications and added casts as necessary to eliminate

warnings.
This commit is contained in:
Joel Sherrill
1997-04-07 21:33:28 +00:00
parent de4f2810a7
commit f8700f776e
14 changed files with 158 additions and 144 deletions

View File

@@ -51,6 +51,7 @@ TEST_EXTERN rtems_unsigned8 Area_1[64000] CPU_STRUCTURE_ALIGNMENT;
#define BASE_PRIORITY 140
#define Put_address_from_area_1( _to_be_printed ) \
printf( "0x%08lx", ((rtems_unsigned8 *)(_to_be_printed)) - Area_1 )
printf( "0x%08lx", \
(unsigned long) ((rtems_unsigned8 *)(_to_be_printed) - Area_1 ) )
/* end of include file */