Single-bit bitfield 'upgrade' should be unsigned.

Fixes sparse error report: dubious one-bit signed bitfield.
v0.6
Ben Noordhuis 13 years ago
parent 918a071542
commit 75dc103fd0

@ -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;

Loading…
Cancel
Save