Changeset 1065


Ignore:
Timestamp:
2012-07-27T18:45:05+02:00 (2 years ago)
Author:
moo
Message:

refactor: sign clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_cacher/xc_cacher.c

    r1064 r1065  
    507507static void xc_gc_expires_php(TSRMLS_D) /* {{{ */ 
    508508{ 
    509     int i, c; 
     509    size_t i, c; 
    510510 
    511511    if (!xc_php_ttl || !xc_php_gc_interval || !xc_php_caches) { 
     
    569569static void xc_gc_deletes(TSRMLS_D) /* {{{ */ 
    570570{ 
    571     int i, c; 
     571    size_t i, c; 
    572572 
    573573    if (xc_php_caches) { 
     
    842842/* }}} */ 
    843843 
    844 static inline void xc_entry_unholds_real(xc_stack_t *holds, xc_cache_t *caches, int cachecount TSRMLS_DC) /* {{{ */ 
    845 { 
    846     int i; 
     844static inline void xc_entry_unholds_real(xc_stack_t *holds, xc_cache_t *caches, size_t cachecount TSRMLS_DC) /* {{{ */ 
     845{ 
     846    size_t i; 
    847847    xc_stack_t *s; 
    848848    xc_cache_t *cache; 
     
    26072607{ 
    26082608    long type; 
    2609     int size; 
     2609    long size; 
    26102610    xc_cache_t *caches, *cache; 
    26112611    long id = 0; 
     
    32113211    if (xc_php_size) { 
    32123212        ptr = _php_math_number_format(xc_php_size, 0, '.', ','); 
    3213         snprintf(buf, sizeof(buf), "enabled, %s bytes, %lu split(s), with %lu slots each", ptr, xc_php_hcache.size, xc_php_hentry.size); 
     3213        snprintf(buf, sizeof(buf), "enabled, %s bytes, %lu split(s), with %lu slots each", ptr, (unsigned long) xc_php_hcache.size, xc_php_hentry.size); 
    32143214        php_info_print_table_row(2, "Opcode Cache", buf); 
    32153215        efree(ptr); 
     
    32203220    if (xc_var_size) { 
    32213221        ptr = _php_math_number_format(xc_var_size, 0, '.', ','); 
    3222         snprintf(buf, sizeof(buf), "enabled, %s bytes, %lu split(s), with %lu slots each", ptr, xc_var_hcache.size, xc_var_hentry.size); 
     3222        snprintf(buf, sizeof(buf), "enabled, %s bytes, %lu split(s), with %lu slots each", ptr, (unsigned long) xc_var_hcache.size, xc_var_hentry.size); 
    32233223        php_info_print_table_row(2, "Variable Cache", buf); 
    32243224        efree(ptr); 
Note: See TracChangeset for help on using the changeset viewer.