Changeset be6a9a2 in rtems


Ignore:
Timestamp:
Nov 16, 2009, 4:55:17 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
cf181446
Parents:
7eab7ade
Message:

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

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

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    r7eab7ade rbe6a9a2  
    112009-11-16      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * rtems++/Task3.cc: Use %zu instead of %i to print size_t's.
     4        Remove bogus cast.
    35        * rtems++/Task1.cc: Use %zu instead of %i to print size_t's.
    46
  • testsuites/libtests/rtems++/Task3.cc

    r7eab7ade rbe6a9a2  
    5353
    5454    mq_2.receive(in, size);
    55       printf("%s - mq_2 receive - %s, size=%i, message string size=%i\n",
    56              name_string(), mq_2.last_status_string(), size, (int) strlen(in));
     55      printf("%s - mq_2 receive - %s, size=%zu, message string size=%zu\n",
     56             name_string(), mq_2.last_status_string(), size, strlen(in));
    5757      if (mq_2.successful())
    5858      {
Note: See TracChangeset for help on using the changeset viewer.