summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2016-06-21 17:56:07 +0300
committerDmitry Stogov <dmitry@zend.com>2016-06-21 17:56:07 +0300
commit22ecd4428a74a0e9d535f984072d363da39cb052 (patch)
treefcea2c79213759b45f8aee4118c6a45b8a8868bf /sapi/cli/php_http_parser.c
parent307e6b7ac99197aae9917ceeccdb89d7db324f4a (diff)
downloadphp-git-22ecd4428a74a0e9d535f984072d363da39cb052.tar.gz
Fixed compilation warnings
Diffstat (limited to 'sapi/cli/php_http_parser.c')
-rw-r--r--sapi/cli/php_http_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_http_parser.c b/sapi/cli/php_http_parser.c
index 5f8eb3ce0b..59361d0911 100644
--- a/sapi/cli/php_http_parser.c
+++ b/sapi/cli/php_http_parser.c
@@ -1539,7 +1539,7 @@ size_t php_http_parser_execute (php_http_parser *parser,
p += to_read - 1;
}
- if (to_read == parser->content_length) {
+ if (to_read == (size_t)parser->content_length) {
state = s_chunk_data_almost_done;
}