Fix expression warnings and break warnings

Close GH-5675.
This commit is contained in:
twosee 2020-06-07 08:38:13 +08:00 committed by Nikita Popov
parent 1d8233877c
commit 7d6a0ba808
27 changed files with 60 additions and 60 deletions

View file

@ -1315,7 +1315,7 @@ size_t php_http_parser_execute (php_http_parser *parser,
nread = 0;
if (parser->flags & F_UPGRADE || parser->method == PHP_HTTP_CONNECT) {
if ((parser->flags & F_UPGRADE) || parser->method == PHP_HTTP_CONNECT) {
parser->upgrade = 1;
}