From d215cf2429ab5a64c0b12b6dae8078626e1d9dc1 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Wed, 28 Sep 2011 20:21:48 +0200 Subject: http-parser: More type changes --- deps/http-parser/http_parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deps/http-parser/http_parser.c') diff --git a/deps/http-parser/http_parser.c b/deps/http-parser/http_parser.c index f51e904f8..438e81bec 100644 --- a/deps/http-parser/http_parser.c +++ b/deps/http-parser/http_parser.c @@ -367,8 +367,8 @@ size_t http_parser_execute (http_parser *parser, size_t to_read; enum state state; enum header_states header_state; - uint64_t index = parser->index; - uint32_t nread = parser->nread; + size_t index = parser->index; + size_t nread = parser->nread; const char *header_field_mark, *header_value_mark, *url_mark; const char *matcher; @@ -1679,7 +1679,7 @@ size_t http_parser_execute (http_parser *parser, p += to_read - 1; } - if (to_read == (size_t)parser->content_length) { + if ((signed)to_read == parser->content_length) { state = s_chunk_data_almost_done; } -- cgit v1.2.1