Skip to content

Commit 23a8e0e

Browse files
committed
Silence new warnings
1 parent 7603159 commit 23a8e0e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/HttpParser.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ struct HttpParser {
242242
static inline bool isUnlikelyFieldNameByte(unsigned char c)
243243
{
244244
/* Digits and 14 of the 15 non-alphanum characters (lacking hyphen) */
245-
return (c == '~' | c == '|' | c == '`' | c == '_' | c == '^' | c == '.' | c == '+' | c == '*'
246-
| c == '\'' | c == '&' | c == '%' | c == '$' | c == '#' | c == '!') || ((c >= 48) & (c <= 57));
245+
return ((c == '~') | (c == '|') | (c == '`') | (c == '_') | (c == '^') | (c == '.') | (c == '+') | (c == '*')
246+
| (c == '\'') | (c == '&') | (c == '%') | (c == '$') | (c == '#') | (c == '!')) || ((c >= 48) & (c <= 57));
247247
}
248248

249249
static inline bool isFieldNameByteFastLowercased(unsigned char &in) {

0 commit comments

Comments
 (0)