Changeset 1027 for trunk/xcache.c
- Timestamp:
- 07/22/2012 08:57:08 AM (10 months ago)
- Files:
-
- 1 modified
-
trunk/xcache.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r1026 r1027 3132 3132 /* {{{ proto bool xcache_get_isref(mixed variable) 3133 3133 XCache internal uses only: Check if variable data is marked referenced */ 3134 #ifdef ZEND_BEGIN_ARG_INFO_EX 3134 3135 ZEND_BEGIN_ARG_INFO_EX(arginfo_xcache_get_isref, 0, 0, 1) 3135 3136 ZEND_ARG_INFO(1, variable) 3136 3137 ZEND_END_ARG_INFO() 3138 #else 3139 static unsigned char arginfo_xcache_get_isref[] = { 1, BYREF_FORCE }; 3140 #endif 3137 3141 3138 3142 PHP_FUNCTION(xcache_get_isref) … … 3657 3661 if (xc_php_size) { 3658 3662 ptr = _php_math_number_format(xc_php_size, 0, '.', ','); 3659 snprintf(buf, sizeof(buf), "enabled, %s bytes, % d split(s), with %dslots each", ptr, xc_php_hcache.size, xc_php_hentry.size);3663 snprintf(buf, sizeof(buf), "enabled, %s bytes, %lu split(s), with %lu slots each", ptr, xc_php_hcache.size, xc_php_hentry.size); 3660 3664 php_info_print_table_row(2, "Opcode Cache", buf); 3661 3665 efree(ptr); … … 3666 3670 if (xc_var_size) { 3667 3671 ptr = _php_math_number_format(xc_var_size, 0, '.', ','); 3668 snprintf(buf, sizeof(buf), "enabled, %s bytes, % d split(s), with %dslots each", ptr, xc_var_hcache.size, xc_var_hentry.size);3672 snprintf(buf, sizeof(buf), "enabled, %s bytes, %lu split(s), with %lu slots each", ptr, xc_var_hcache.size, xc_var_hentry.size); 3669 3673 php_info_print_table_row(2, "Variable Cache", buf); 3670 3674 efree(ptr);

