MFH: Fix compiler warnings

This commit is contained in:
Kalle Sommer Nielsen 2009-05-19 16:03:36 +00:00
parent c80f0bf769
commit 01fc4ed1d6
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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) {