Changeset 85bca3f in rtems


Ignore:
Timestamp:
Aug 20, 2008, 5:29:37 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
dccd351
Parents:
1dab788
Message:

2008-08-20 Sebastian Huber <sebastian.huber@…>

  • include/rtems/status-checks.h: Fixed integer conversion warning.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r1dab788 r85bca3f  
     12008-08-20      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * include/rtems/status-checks.h: Fixed integer conversion warning.
     4
    152008-08-20      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • cpukit/include/rtems/status-checks.h

    r1dab788 r85bca3f  
    8484  if ((sc) != RTEMS_SUCCESSFUL) { \
    8585    SYSLOG_ERROR( "SC = %i: %s\n", sc, hint ); \
    86     return -(sc); \
     86    return -((int) (sc)); \
    8787  } else { \
    8888    DEBUG_PRINT( "Ok: %s\n", hint ); \
     
    150150  if ((sc) != RTEMS_SUCCESSFUL) { \
    151151    SYSLOG_ERROR( "SC = %i: %s\n", sc, hint ); \
    152     rv = -(sc); \
     152    rv = -((int) (sc)); \
    153153    goto label; \
    154154  } else { \
Note: See TracChangeset for help on using the changeset viewer.