2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>

* libcsupport/include/rtems/libio.h:
	Make LIBIO_FLAGS_* defined unsigned (Avoid implicit sign
	conversions).
This commit is contained in:
Ralf Corsepius
2011-12-06 06:39:03 +00:00
parent 2186f401e4
commit 145c934384
2 changed files with 14 additions and 8 deletions

View File

@@ -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)
/** @} */