forked from Imagelibrary/rtems
2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/rtems/status-checks.h: Fixed integer conversion warning.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* include/rtems/status-checks.h: Fixed integer conversion warning.
|
||||
|
||||
2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Abort if stdbool.h is not c99 compliant.
|
||||
|
||||
@@ -83,7 +83,7 @@ extern "C" {
|
||||
#define CHECK_SCRV( sc, hint ) \
|
||||
if ((sc) != RTEMS_SUCCESSFUL) { \
|
||||
SYSLOG_ERROR( "SC = %i: %s\n", sc, hint ); \
|
||||
return -(sc); \
|
||||
return -((int) (sc)); \
|
||||
} else { \
|
||||
DEBUG_PRINT( "Ok: %s\n", hint ); \
|
||||
}
|
||||
@@ -149,7 +149,7 @@ extern "C" {
|
||||
#define CLEANUP_SCRV( sc, rv, label, hint ) \
|
||||
if ((sc) != RTEMS_SUCCESSFUL) { \
|
||||
SYSLOG_ERROR( "SC = %i: %s\n", sc, hint ); \
|
||||
rv = -(sc); \
|
||||
rv = -((int) (sc)); \
|
||||
goto label; \
|
||||
} else { \
|
||||
DEBUG_PRINT( "Ok: %s\n", hint ); \
|
||||
|
||||
Reference in New Issue
Block a user