From bbc0615e0934224ae14ef644386ff17c6e4dd85d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 3 Dec 2011 05:45:58 +0000 Subject: =?UTF-8?q?2011-12-03=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libcsupport/src/termios.c: Make FL_* defines unsigned. --- cpukit/libcsupport/src/termios.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'cpukit/libcsupport') diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index 90eebf3844..d64c14f2a7 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -45,16 +45,16 @@ #define RAW_OUTPUT_BUFFER_SIZE (rtems_termios_raw_output_size) /* fields for "flow_ctrl" status */ -#define FL_IREQXOF 1 /* input queue requests stop of incoming data */ -#define FL_ISNTXOF 2 /* XOFF has been sent to other side of line */ -#define FL_IRTSOFF 4 /* RTS has been turned off for other side.. */ +#define FL_IREQXOF 1U /* input queue requests stop of incoming data */ +#define FL_ISNTXOF 2U /* XOFF has been sent to other side of line */ +#define FL_IRTSOFF 4U /* RTS has been turned off for other side.. */ -#define FL_ORCVXOF 0x10 /* XOFF has been received */ -#define FL_OSTOP 0x20 /* output has been stopped due to XOFF */ +#define FL_ORCVXOF 0x10U /* XOFF has been received */ +#define FL_OSTOP 0x20U /* output has been stopped due to XOFF */ -#define FL_MDRTS 0x100 /* input controlled with RTS/CTS handshake */ -#define FL_MDXON 0x200 /* input controlled with XON/XOFF protocol */ -#define FL_MDXOF 0x400 /* output controlled with XON/XOFF protocol */ +#define FL_MDRTS 0x100U /* input controlled with RTS/CTS handshake */ +#define FL_MDXON 0x200U /* input controlled with XON/XOFF protocol */ +#define FL_MDXOF 0x400U /* output controlled with XON/XOFF protocol */ #define NODISC(n) \ { NULL, NULL, NULL, NULL, \ -- cgit v1.2.3