From 51f5d64cf4b03f9ca9167d7c8c34ffdcc4182c31 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 2 Apr 1997 16:26:39 +0000 Subject: corrected printf format to avoid warning --- c/src/tests/sptests/sp25/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/tests/sptests/sp25/system.h') diff --git a/c/src/tests/sptests/sp25/system.h b/c/src/tests/sptests/sp25/system.h index 6f7ec4de99..9a700cfa59 100644 --- a/c/src/tests/sptests/sp25/system.h +++ b/c/src/tests/sptests/sp25/system.h @@ -51,6 +51,6 @@ 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%08x", ((rtems_unsigned8 *)(_to_be_printed)) - Area_1 ) + printf( "0x%08lx", ((rtems_unsigned8 *)(_to_be_printed)) - Area_1 ) /* end of include file */ -- cgit v1.2.3