Changeset 991


Ignore:
Timestamp:
Jul 9, 2003, 7:40:43 PM (18 years ago)
Author:
pooh
Message:
  • Fixed compilation warnings for 64-bit architectures.
Location:
to-imperative/trunk/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/runtime/rf_core.cc

    r988 r991  
    7474    #if DEBUG
    7575    printf("Concatenation statistics:\n");
    76     printf("- no copy:       %u\n", empty_copy);
    77     printf("- left copy:     %u\n", lt_copy);
    78     printf("- right copy:    %u\n", rt_copy);
    79     printf("- both copy:     %u\n", both_copy);
    80     printf("- unifications:  %u\n", unifications);
    81     printf("- identical:     %u\n", identical);
     76    printf("- no copy:       %"PRIuPTR"\n", empty_copy);
     77    printf("- left copy:     %"PRIuPTR"\n", lt_copy);
     78    printf("- right copy:    %"PRIuPTR"\n", rt_copy);
     79    printf("- both copy:     %"PRIuPTR"\n", both_copy);
     80    printf("- unifications:  %"PRIuPTR"\n", unifications);
     81    printf("- identical:     %"PRIuPTR"\n", identical);
    8282    #if PARANOIA
    8383    allocator.memory_dump();
  • to-imperative/trunk/runtime/rf_expr.ih

    r882 r991  
    239239{
    240240  Term* p;
    241   printf("%p, %p, %u: ", first, last, last - first);
     241  printf("%p, %p, %"PRIuPTR": ", first, last, last - first);
    242242  for (p = first; p < last; p++) {
    243     printf("[%08x %08x]", p->data1, p->uint_data2);
     243    printf("[%08"PRIxPTR" %08"PRIxPTR"]", p->data1, p->uint_data2);
    244244  }
    245245  printf("\n");
Note: See TracChangeset for help on using the changeset viewer.