forked from Imagelibrary/rtems
2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems++/Task3.cc: Use %zu instead of %i to print size_t's. Remove bogus cast.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* rtems++/Task3.cc: Use %zu instead of %i to print size_t's.
|
||||
Remove bogus cast.
|
||||
* rtems++/Task1.cc: Use %zu instead of %i to print size_t's.
|
||||
|
||||
2009-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
@@ -52,8 +52,8 @@ void Task3::screen6()
|
||||
printf("%s - loopback from mq_2 to mq_2 ...\n", name_string()); fflush(stdout);
|
||||
|
||||
mq_2.receive(in, size);
|
||||
printf("%s - mq_2 receive - %s, size=%i, message string size=%i\n",
|
||||
name_string(), mq_2.last_status_string(), size, (int) strlen(in));
|
||||
printf("%s - mq_2 receive - %s, size=%zu, message string size=%zu\n",
|
||||
name_string(), mq_2.last_status_string(), size, strlen(in));
|
||||
if (mq_2.successful())
|
||||
{
|
||||
if (size > (100 - 5))
|
||||
|
||||
Reference in New Issue
Block a user