diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 8 | ||||
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 14 |
2 files changed, 14 insertions, 8 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 1909a1efd7..039b6f4a49 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,8 +1,14 @@ +2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org> + + * libcsupport/include/rtems/libio.h: + Make LIBIO_FLAGS_* defined unsigned (Avoid implicit sign + conversions). + 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> * libmisc/capture/capture.c: Make RTEMS_CAPTURE_* defines unsigned (Avoid implicit - sign-conversions). + sign conversions). Make rtems_capture_trigger static (Missing prototypes). Make rtems_capture_trigger static (Missing prototypes). * libmisc/capture/capture.h: diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index f2b1c9a715..677ee40280 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -1157,13 +1157,13 @@ typedef struct { * @{ */ -#define LIBIO_FLAGS_NO_DELAY 0x0001 /* return immediately if no data */ -#define LIBIO_FLAGS_READ 0x0002 /* reading */ -#define LIBIO_FLAGS_WRITE 0x0004 /* writing */ -#define LIBIO_FLAGS_OPEN 0x0100 /* device is open */ -#define LIBIO_FLAGS_APPEND 0x0200 /* all writes append */ -#define LIBIO_FLAGS_CREATE 0x0400 /* create file */ -#define LIBIO_FLAGS_CLOSE_ON_EXEC 0x0800 /* close on process exec() */ +#define LIBIO_FLAGS_NO_DELAY 0x0001U /* return immediately if no data */ +#define LIBIO_FLAGS_READ 0x0002U /* reading */ +#define LIBIO_FLAGS_WRITE 0x0004U /* writing */ +#define LIBIO_FLAGS_OPEN 0x0100U /* device is open */ +#define LIBIO_FLAGS_APPEND 0x0200U /* all writes append */ +#define LIBIO_FLAGS_CREATE 0x0400U /* create file */ +#define LIBIO_FLAGS_CLOSE_ON_EXEC 0x0800U /* close on process exec() */ #define LIBIO_FLAGS_READ_WRITE (LIBIO_FLAGS_READ | LIBIO_FLAGS_WRITE) /** @} */ |