Skip to content

Commit 3d93f60

Browse files
committed
Fix newly added warnings
1 parent 92ebd48 commit 3d93f60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HttpParser.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,9 @@ struct HttpParser {
249249
}
250250

251251
static inline bool isFieldNameByteFastLowercased(unsigned char &in) {
252-
if ((in >= 97 & in <= 122) | (in == '-')) [[likely]] {
252+
if (((in >= 97) & (in <= 122)) | (in == '-')) [[likely]] {
253253
return true;
254-
} else if (in >= 65 & in <= 90) [[unlikely]] {
254+
} else if ((in >= 65) & (in <= 90)) [[unlikely]] {
255255
in |= 32;
256256
return true;
257257
} else if (isFieldNameByte(in)) [[unlikely]] {

0 commit comments

Comments
 (0)