diff options
author | Alexey Zakhlestin <indeyets@php.net> | 2008-06-28 10:01:17 +0000 |
---|---|---|
committer | Alexey Zakhlestin <indeyets@php.net> | 2008-06-28 10:01:17 +0000 |
commit | d33c8680ab4a0982df308c58dff41b96806378b4 (patch) | |
tree | cb40cd38c14a746671ce452eb7672423db8bba97 /sapi/apache/mod_php5.c | |
parent | 0045cb305b58eca93a61c4f95e4ef2401eb292c7 (diff) | |
download | php-git-d33c8680ab4a0982df308c58dff41b96806378b4.tar.gz |
fixed types (no more compiler warnings)
Diffstat (limited to 'sapi/apache/mod_php5.c')
-rw-r--r-- | sapi/apache/mod_php5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache/mod_php5.c b/sapi/apache/mod_php5.c index 5e0ac1f206..a5afb77be4 100644 --- a/sapi/apache/mod_php5.c +++ b/sapi/apache/mod_php5.c @@ -243,7 +243,7 @@ static void sapi_apache_register_server_variables(zval *track_vars_array TSRMLS_ table_entry *elts = (table_entry *) arr->elts; zval **path_translated; HashTable *symbol_table; - int new_val_len; + unsigned int new_val_len; for (i = 0; i < arr->nelts; i++) { char *val; @@ -683,7 +683,7 @@ static int send_parsed_php(request_rec * r) TSRMLS_FETCH(); ap_table_setn(r->notes, "mod_php_memory_usage", - ap_psprintf(r->pool, "%u", zend_memory_peak_usage(1 TSRMLS_CC))); + ap_psprintf(r->pool, "%lu", zend_memory_peak_usage(1 TSRMLS_CC))); return result; } |