Changeset 1065
- Timestamp:
- 2012-07-27T18:45:05+02:00 (10 months ago)
- File:
-
- 1 edited
-
trunk/mod_cacher/xc_cacher.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/mod_cacher/xc_cacher.c
r1064 r1065 507 507 static void xc_gc_expires_php(TSRMLS_D) /* {{{ */ 508 508 { 509 int i, c;509 size_t i, c; 510 510 511 511 if (!xc_php_ttl || !xc_php_gc_interval || !xc_php_caches) { … … 569 569 static void xc_gc_deletes(TSRMLS_D) /* {{{ */ 570 570 { 571 int i, c;571 size_t i, c; 572 572 573 573 if (xc_php_caches) { … … 842 842 /* }}} */ 843 843 844 static inline void xc_entry_unholds_real(xc_stack_t *holds, xc_cache_t *caches, int cachecount TSRMLS_DC) /* {{{ */845 { 846 int i;844 static inline void xc_entry_unholds_real(xc_stack_t *holds, xc_cache_t *caches, size_t cachecount TSRMLS_DC) /* {{{ */ 845 { 846 size_t i; 847 847 xc_stack_t *s; 848 848 xc_cache_t *cache; … … 2607 2607 { 2608 2608 long type; 2609 intsize;2609 long size; 2610 2610 xc_cache_t *caches, *cache; 2611 2611 long id = 0; … … 3211 3211 if (xc_php_size) { 3212 3212 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); 3214 3214 php_info_print_table_row(2, "Opcode Cache", buf); 3215 3215 efree(ptr); … … 3220 3220 if (xc_var_size) { 3221 3221 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); 3223 3223 php_info_print_table_row(2, "Variable Cache", buf); 3224 3224 efree(ptr);
Note: See TracChangeset
for help on using the changeset viewer.

