mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
hurd: Fix _NOFLSH value
shifting 1 (thus an integer) left 31 bit is undefined behavior. We have to make it an unsigned integer to properly get 0x80000000 (like done in other places).
This commit is contained in:
parent
7e31d16651
commit
569cfcc6bf
@ -246,7 +246,7 @@ struct termios
|
||||
# define NOKERNINFO (1 << 25) /* Disable VSTATUS. */
|
||||
# define PENDIN (1 << 29) /* Retype pending input (state). */
|
||||
#endif
|
||||
#define _NOFLSH (1 << 31) /* Disable flush after interrupt. */
|
||||
#define _NOFLSH (1U << 31) /* Disable flush after interrupt. */
|
||||
#define NOFLSH _NOFLSH
|
||||
|
||||
/* Control characters. */
|
||||
|
Loading…
Reference in New Issue
Block a user