Changeset 7093646b in rtems


Ignore:
Timestamp:
Oct 2, 2009, 3:54:47 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
e24a5a03
Parents:
1a32895
Message:

2009-10-02 Ralf Corsépius <ralf.corsepius@…>

  • libmisc/monitor/mon-driver.c: Fix warning if defined(RTEMS_USE_16_BIT_OBJECT).
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r1a32895 r7093646b  
    112009-10-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libmisc/monitor/mon-driver.c: Fix warning if
     4        defined(RTEMS_USE_16_BIT_OBJECT).
    35        * libmisc/monitor/mon-prmisc.c: Fix warning if
    46        defined(RTEMS_USE_16_BIT_OBJECT).
  • cpukit/libmisc/monitor/mon-driver.c

    r1a32895 r7093646b  
    112112    uint32_t            length = 0;
    113113
     114#if defined(RTEMS_USE_16_BIT_OBJECT)
     115    length += fprintf(stdout,"  %" PRId16 "", monitor_driver->id);
     116#else
    114117    length += fprintf(stdout,"  %" PRId32 "", monitor_driver->id);
    115 
     118#endif
    116119    length += rtems_monitor_pad(13, length);
    117120    length += fprintf(stdout,"init: ");
Note: See TracChangeset for help on using the changeset viewer.