Changeset 68c65d65 in rtems


Ignore:
Timestamp:
Aug 25, 2008, 11:15:14 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
9190a31d
Parents:
8b7ec011
Message:

Use %zi to print size_t.

File:
1 edited

Legend:

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

    r8b7ec011 r68c65d65  
    160160    if (mp->memory != (mp + 1))
    161161        ind += sprintf(cbuf+ind, "mp+1:%p  ", mp + 1);
    162     ind += sprintf(cbuf+ind, "mp->memory:%p  mp->size:%li\n", mp->memory, mp->size);
     162    ind += sprintf(cbuf+ind, "mp->memory:%p  mp->size:%zi\n", mp->memory, mp->size);
    163163    if (memcmp((char *)mp->memory + mp->size, SENTINEL, SENTINELSIZE) != 0) {
    164164        ind += sprintf(cbuf+ind, "mp->sentinel: ");
Note: See TracChangeset for help on using the changeset viewer.