indeyets                Sat Jun 28 10:01:18 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/sapi/apache        mod_php5.c 
  Log:
  fixed types (no more compiler warnings)
  
http://cvs.php.net/viewvc.cgi/php-src/sapi/apache/mod_php5.c?r1=1.19.2.7.2.13.2.6&r2=1.19.2.7.2.13.2.7&diff_format=u
Index: php-src/sapi/apache/mod_php5.c
diff -u php-src/sapi/apache/mod_php5.c:1.19.2.7.2.13.2.6 
php-src/sapi/apache/mod_php5.c:1.19.2.7.2.13.2.7
--- php-src/sapi/apache/mod_php5.c:1.19.2.7.2.13.2.6    Sun Jun  1 16:08:52 2008
+++ php-src/sapi/apache/mod_php5.c      Sat Jun 28 10:01:17 2008
@@ -17,7 +17,7 @@
    | PHP 4.0 patches by Zeev Suraski <[EMAIL PROTECTED]>                      |
    +----------------------------------------------------------------------+
  */
-/* $Id: mod_php5.c,v 1.19.2.7.2.13.2.6 2008/06/01 16:08:52 scottmac Exp $ */
+/* $Id: mod_php5.c,v 1.19.2.7.2.13.2.7 2008/06/28 10:01:17 indeyets Exp $ */
 
 #include "php_apache_http.h"
 #include "http_conf_globals.h"
@@ -243,7 +243,7 @@
        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 @@
        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;
 }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to