2009-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>

* sp25/task1.c: Use PRIuPTR for segment_sizes.
This commit is contained in:
Ralf Corsepius
2009-12-02 15:30:58 +00:00
parent c53ba11a40
commit 97abdd2bcf
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2009-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp25/task1.c: Use PRIuPTR for segment_sizes.
2009-11-30 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> 2009-11-30 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* sp68/Makefile.in, sp68/.cvsignore, * sp68/Makefile.in, sp68/.cvsignore,

View File

@@ -183,7 +183,7 @@ rtems_task Task_1(
new_line; new_line;
status = rtems_region_get_segment_size(region_id, address_8, &segment_size); status = rtems_region_get_segment_size(region_id, address_8, &segment_size);
directive_failed(status, "rtems_region_get_segment_size of segment 8"); directive_failed(status, "rtems_region_get_segment_size of segment 8");
printf( "TA1 - got segment size of %" PRIu32 "\n", segment_size ); printf( "TA1 - got segment size of %" PRIuPTR "\n", segment_size );
/* Get information about the region */ /* Get information about the region */
printf( "TA1 - rtems_region_get_information - 0x%08" PRIxrtems_id "\n", region_id ); printf( "TA1 - rtems_region_get_information - 0x%08" PRIxrtems_id "\n", region_id );