summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp16
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-02 16:26:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-02 16:26:39 +0000
commit51f5d64cf4b03f9ca9167d7c8c34ffdcc4182c31 (patch)
tree911d327ca326b420e87ea5a4b0a963b606ade6be /testsuites/sptests/sp16
parentinitialized variables or removed unused variables to remove warnings (diff)
downloadrtems-51f5d64cf4b03f9ca9167d7c8c34ffdcc4182c31.tar.bz2
corrected printf format to avoid warning
Diffstat (limited to 'testsuites/sptests/sp16')
-rw-r--r--testsuites/sptests/sp16/system.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/sptests/sp16/system.h b/testsuites/sptests/sp16/system.h
index 1eddd5277e..7eaadf56f5 100644
--- a/testsuites/sptests/sp16/system.h
+++ b/testsuites/sptests/sp16/system.h
@@ -71,15 +71,15 @@ TEST_EXTERN rtems_unsigned8 Area_4[8192] CPU_STRUCTURE_ALIGNMENT;
#define BASE_PRIORITY 140
#define Put_address_from_area_1( _to_be_printed ) \
- printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_1 )
+ printf( "0x%08lx", ((rtems_unsigned8 *)(_to_be_printed)) - Area_1 )
#define Put_address_from_area_2( _to_be_printed ) \
- printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_2 )
+ printf( "0x%08lx", ((rtems_unsigned8 *)(_to_be_printed)) - Area_2 )
#define Put_address_from_area_3( _to_be_printed ) \
- printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_3 )
+ printf( "0x%08lx", ((rtems_unsigned8 *)(_to_be_printed)) - Area_3 )
#define Put_address_from_area_4( _to_be_printed ) \
- printf( "0x%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_4 )
+ printf( "0x%08lx", ((rtems_unsigned8 *)(_to_be_printed)) - Area_4 )
/* end of include file */