Changeset 787519fb in rtems


Ignore:
Timestamp:
Nov 13, 2009, 3:12:53 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
1fcff14
Parents:
10b83e6
Message:

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

  • libmisc/capture/capture-cli.c: Cast pointer to intptr_t to print it (Casting to int32_t is wrong).
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r10b83e6 r787519fb  
     12009-11-13      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libmisc/capture/capture-cli.c: Cast pointer to intptr_t to
     4        print it (Casting to int32_t is wrong).
     5
    162009-11-13      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/libmisc/capture/capture-cli.c

    r10b83e6 r787519fb  
    13641364    {
    13651365      if (csv)
    1366         fprintf (stdout, "%08" PRIx32 ",%03" PRIu32
     1366        fprintf (stdout, "%08" PRIxPTR ",%03" PRIu32
    13671367                   ",%03" PRIu32 ",%04" PRIx32 ",%" PRId32 ",%" PRId32 "\n",
    1368                 (uint32_t) rec->task,
     1368                (uintptr_t) rec->task,
    13691369                (rec->events >> RTEMS_CAPTURE_REAL_PRIORITY_EVENT) & 0xff,
    13701370                (rec->events >> RTEMS_CAPTURE_CURR_PRIORITY_EVENT) & 0xff,
Note: See TracChangeset for help on using the changeset viewer.