summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-08-18 09:16:04 +0000
committerPierre Joye <pajoye@php.net>2011-08-18 09:16:04 +0000
commit0fd3f882cdf96ac58b08648f9b9d577829e3799c (patch)
tree3721fe41a817f112b3cf1e663efba92cde0cee2c /sapi/cli/php_http_parser.h
parent8e0c2e1cb900c26e33e2032972c4b1e297682893 (diff)
downloadphp-git-0fd3f882cdf96ac58b08648f9b9d577829e3799c.tar.gz
- do not use 64bit integer instead of size_t (can't be alloc'ed), or when the actual possible values are 32bit or lower only
Diffstat (limited to 'sapi/cli/php_http_parser.h')
-rw-r--r--sapi/cli/php_http_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_http_parser.h b/sapi/cli/php_http_parser.h
index 353550f017..8be44739a2 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;
- int64_t content_length;
+ size_t content_length;
/** READ-ONLY **/
unsigned short http_major;