From: Xinchen Hui Date: Fri, 19 Aug 2011 07:40:51 +0000 (+0000) Subject: Fixed #55457 for 5.4 branch X-Git-Tag: php-5.4.0beta1~409 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9cdb9a80a77933cbd205b4447a118ff40d42e74d;p=php Fixed #55457 for 5.4 branch Use ssize_t instead of long (as pierre suggestion) --- diff --git a/sapi/cli/php_http_parser.h b/sapi/cli/php_http_parser.h index 8be44739a2..8254a4367e 100644 --- a/sapi/cli/php_http_parser.h +++ b/sapi/cli/php_http_parser.h @@ -112,7 +112,7 @@ struct php_http_parser { unsigned char index; uint32_t nread; - size_t content_length; + ssize_t content_length; /** READ-ONLY **/ unsigned short http_major;