Changeset 7eab7ade in rtems


Ignore:
Timestamp:
Nov 16, 2009, 4:51:36 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
be6a9a2
Parents:
1a1c3fb
Message:

2009-11-16 Ralf Corsépius <ralf.corsepius@…>

  • rtems++/Task1.cc: Use %zu instead of %i to print size_t's.
Location:
testsuites/libtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    r1a1c3fb r7eab7ade  
     12009-11-16      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * rtems++/Task1.cc: Use %zu instead of %i to print size_t's.
     4
    152009-11-14      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • testsuites/libtests/rtems++/Task1.cc

    r1a1c3fb r7eab7ade  
    562562    else
    563563    {
    564       printf("%s - message u2 received incorrectly, message='%s', size=%i\n",
     564      printf("%s - message u2 received incorrectly, message='%s', size=%zu\n",
    565565             name_string(), in, size);
    566566    }
    567567  }
    568568  else
    569     printf("%s - message u2 size incorrect, size=%i\n", name_string(), size);
     569    printf("%s - message u2 size incorrect, size=%zu\n", name_string(), size);
    570570
    571571  printf("%s - receive u1 on mq_2 ...\n", name_string()); fflush(stdout);
     
    582582    else
    583583    {
    584       printf("%s - message u1 received incorrectly, message='%s', size=%i\n",
     584      printf("%s - message u1 received incorrectly, message='%s', size=%zu\n",
    585585             name_string(), in, size);
    586586    }
    587587  }
    588588  else
    589     printf("%s - message u1 size incorrect, size=%i\n", name_string(), size);
     589    printf("%s - message u1 size incorrect, size=%zu\n", name_string(), size);
    590590
    591591  wake_after(3000000);
     
    619619  }
    620620  else
    621     printf("%s - message b1 size incorrect, size=%i\n", name_string(), size);
     621    printf("%s - message b1 size incorrect, size=%zu\n", name_string(), size);
    622622
    623623  printf("%s - receive message b1 on mq_2 from %s...\n",
     
    635635    else
    636636    {
    637       printf("%s - message b1 received incorrectly, message='%s', size=%i\n",
     637      printf("%s - message b1 received incorrectly, message='%s', size=%zu\n",
    638638             name_string(), in, size);
    639639    }
    640640  }
    641641  else
    642     printf("%s - message b1 size incorrect, size=%i\n", name_string(), size);
     642    printf("%s - message b1 size incorrect, size=%zu\n", name_string(), size);
    643643
    644644  // wait for task 3_1, and 3_2 to complete their timeout tests, will
Note: See TracChangeset for help on using the changeset viewer.