]> granicus.if.org Git - php/commitdiff
fixed types (no more compiler warnings)
authorAlexey Zakhlestin <indeyets@php.net>
Sat, 28 Jun 2008 10:01:17 +0000 (10:01 +0000)
committerAlexey Zakhlestin <indeyets@php.net>
Sat, 28 Jun 2008 10:01:17 +0000 (10:01 +0000)
sapi/apache/mod_php5.c

index 5e0ac1f206a8a8d076cfccd65a8a8b906add8d5f..a5afb77be440d63cc640c172c8f5ec6b554cc7b5 100644 (file)
@@ -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;
 }