mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFH: Fix compiler warnings
This commit is contained in:
parent
c80f0bf769
commit
01fc4ed1d6
2 changed files with 3 additions and 2 deletions
|
@ -2650,7 +2650,7 @@ PHP_FUNCTION(pg_fetch_all_columns)
|
|||
zval *result;
|
||||
PGresult *pgsql_result;
|
||||
pgsql_result_handle *pg_result;
|
||||
long colno=0;
|
||||
unsigned long colno=0;
|
||||
int pg_numrows, pg_row;
|
||||
size_t num_fields;
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue