Changeset 989


Ignore:
Timestamp:
Jul 9, 2003, 7:26:11 PM (18 years ago)
Author:
pooh
Message:
  • Compilation warnings on 64-bit systems fixed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/libp++/pxx_heap_allocator.cc

    r320 r989  
    196196    do {
    197197      if ((p->size & 0x01) != 0) {
    198         printf("a:%u ", p->get_size());
     198        printf("a:%"PRIuPTR" ", p->get_size());
    199199        p = ptr_add_offset(p, p->get_size());
    200200      } else {
    201         printf("f:%u ", p->get_size());
     201        printf("f:%"PRIuPTR" ", p->get_size());
    202202        p = ptr_add_offset(p, p->get_size());
    203203      }
     
    213213    {
    214214      BlockHeader* q;
    215       printf("%4u:", exps_of_two[i]);
     215      printf("%4"PRIuPTR":", exps_of_two[i]);
    216216      p = lists + i;
    217217      q = p->next;
Note: See TracChangeset for help on using the changeset viewer.