include/termios: left shift of 1 by 31 places cannot be represented in type 'int'
N/A cu_main.c:172:22: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' by asan Change-Id: I224345bddb11523db0c4a91c16617a3200fad034 Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
ff567124d3
commit
f2e268d1bc
@ -97,7 +97,7 @@
|
||||
#define HUPCL (1 << 10) /* Bit 10: Hang up on last close */
|
||||
#define CLOCAL (1 << 11) /* Bit 11: Ignore modem status lines */
|
||||
#define CCTS_OFLOW (1 << 29) /* Bit 29: CTS flow control of output */
|
||||
#define CRTS_IFLOW (1 << 31)/* Bit 31: RTS flow control of input */
|
||||
#define CRTS_IFLOW (1u << 31) /* Bit 31: RTS flow control of input */
|
||||
#define CRTSCTS (CCTS_OFLOW | CRTS_IFLOW)
|
||||
|
||||
/* Local Modes (c_lflag in the termios structure) */
|
||||
|
Loading…
Reference in New Issue
Block a user