diff --git a/http_parser.h b/http_parser.h index 7d39520..76a61f2 100644 --- a/http_parser.h +++ b/http_parser.h @@ -222,7 +222,7 @@ struct http_parser { * Should be checked when http_parser_execute() returns in addition to * error checking. */ - char upgrade : 1; + unsigned char upgrade : 1; #if HTTP_PARSER_DEBUG uint32_t error_lineno;