basic/terminal-util: drop 'U' suffix
C automatically casts a signed int to unsigned in binary operation with an unsigned int. Thus that suffix is not useful. Also surrounding code doesn't use it.
This commit is contained in:
@@ -165,7 +165,7 @@ int pty_open_peer(int fd, int mode);
|
||||
static inline bool osc_char_is_valid(char c) {
|
||||
/* Checks whether the specified character is safe to be included inside an ANSI OSC sequence, as per
|
||||
* ECMA-48 5th edition, section 8.3.89 */
|
||||
return (unsigned char) c >= 32U && (unsigned char) c < 127;
|
||||
return (unsigned char) c >= 32 && (unsigned char) c < 127;
|
||||
}
|
||||
|
||||
static inline bool vtnr_is_valid(unsigned n) {
|
||||
|
||||
Reference in New Issue
Block a user