summaryrefslogtreecommitdiffstats
path: root/c/src/tests/sptests/sp25/system.h
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 /c/src/tests/sptests/sp25/system.h
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 'c/src/tests/sptests/sp25/system.h')
-rw-r--r--c/src/tests/sptests/sp25/system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/tests/sptests/sp25/system.h b/c/src/tests/sptests/sp25/system.h
index 9a700cfa59..aff4bf0abf 100644
--- a/c/src/tests/sptests/sp25/system.h
+++ b/c/src/tests/sptests/sp25/system.h
@@ -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 */