diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2009-05-19 16:03:36 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2009-05-19 16:03:36 +0000 |
commit | 01fc4ed1d63c6a292fa89c303cb6b7ff824bc84a (patch) | |
tree | 10a8b847d7be297817551e598d6834a7aee03d06 /sapi/cgi/cgi_main.c | |
parent | c80f0bf76928385c49a73bd855fdc603fdffb1ec (diff) | |
download | php-git-01fc4ed1d63c6a292fa89c303cb6b7ff824bc84a.tar.gz |
MFH: Fix compiler warnings
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r-- | sapi/cgi/cgi_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 711f212875..302c26c1eb 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -471,7 +471,8 @@ static int sapi_cgi_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC) static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) { - int read_bytes=0, tmp_read_bytes; + uint read_bytes = 0; + int tmp_read_bytes; count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); while (read_bytes < count_bytes) { |