diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-10 14:55:43 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-10 14:55:43 +0000 |
commit | 6d8720c48161709d81fc890643308c214f6f8dae (patch) | |
tree | 00f4ee0560e48363932e967ca6b52baf0f82e737 /cpukit/libmisc/shell/login_prompt.c | |
parent | 2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-6d8720c48161709d81fc890643308c214f6f8dae.tar.bz2 |
2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/login_prompt.c, libmisc/shell/shell_script.c,
rtems/include/rtems/rtems/timer.h: Fix warnings.
Diffstat (limited to 'cpukit/libmisc/shell/login_prompt.c')
-rw-r--r-- | cpukit/libmisc/shell/login_prompt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libmisc/shell/login_prompt.c b/cpukit/libmisc/shell/login_prompt.c index 5701a579c2..0e754f7120 100644 --- a/cpukit/libmisc/shell/login_prompt.c +++ b/cpukit/libmisc/shell/login_prompt.c @@ -167,8 +167,8 @@ bool rtems_shell_login_prompt( if (tcgetattr( fd_in, &termios_previous) == 0) { struct termios termios_new = termios_previous; - termios_new.c_lflag &= ~ECHO; - termios_new.c_lflag &= ~ICANON; + termios_new.c_lflag &= (unsigned char) ~ECHO; + termios_new.c_lflag &= (unsigned char) ~ICANON; termios_new.c_cc [VTIME] = 255; termios_new.c_cc [VMIN] = 0; |