Changeset 6cd05d2 in rtems for cpukit/libcsupport/src/malloc.c


Ignore:
Timestamp:
03/30/04 15:23:50 (19 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e0f75b1
Parents:
6855663
Message:

2004-03-30 Ralf Corsepius <ralf_corsepius@…>

  • rtems/include/rtems/rtems/region.h: Include stddef.h for size_t. (rtems_region_get_segment_size): Use size_t instead of uint32_t for "size" (3rd arg).
  • rtems/src/regiongetsegmentsize.c: Reflect changes above.
  • libcsupport/src/malloc.c: Reflect changes above.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/malloc.c

    r6855663 r6cd05d2  
    246246  if (return_this)
    247247  {
    248       uint32_t   actual_size;
     248      size_t     actual_size;
    249249      uint32_t   current_depth;
    250250      status = rtems_region_get_segment_size(
     
    370370#ifdef MALLOC_STATS
    371371  {
    372       uint32_t          size;
     372      size_t size;
    373373      status = rtems_region_get_segment_size( RTEMS_Malloc_Heap, ptr, &size );
    374374      if ( status == RTEMS_SUCCESSFUL ) {
Note: See TracChangeset for help on using the changeset viewer.