@@ -51,7 +51,7 @@ PHPAPI extern char *php_ini_opened_path;
51
51
PHPAPI extern char * php_ini_scanned_path ;
52
52
PHPAPI extern char * php_ini_scanned_files ;
53
53
54
- static ZEND_COLD int php_info_print_html_esc (const char * str , size_t len ) /* {{{ */
54
+ static ZEND_COLD size_t php_info_print_html_esc (const char * str , size_t len ) /* {{{ */
55
55
{
56
56
size_t written ;
57
57
zend_string * new_str ;
@@ -63,7 +63,7 @@ static ZEND_COLD int php_info_print_html_esc(const char *str, size_t len) /* {{{
63
63
}
64
64
/* }}} */
65
65
66
- static ZEND_COLD int php_info_printf (const char * fmt , ...) /* {{{ */
66
+ static ZEND_COLD size_t php_info_printf (const char * fmt , ...) /* {{{ */
67
67
{
68
68
char * buf ;
69
69
size_t len , written ;
@@ -79,7 +79,7 @@ static ZEND_COLD int php_info_printf(const char *fmt, ...) /* {{{ */
79
79
}
80
80
/* }}} */
81
81
82
- static zend_always_inline int php_info_print (const char * str ) /* {{{ */
82
+ static zend_always_inline size_t php_info_print (const char * str ) /* {{{ */
83
83
{
84
84
return php_output_write (str , strlen (str ));
85
85
}
@@ -164,7 +164,7 @@ PHPAPI ZEND_COLD void php_info_print_module(zend_module_entry *zend_module) /* {
164
164
/* }}} */
165
165
166
166
/* {{{ php_print_gpcse_array */
167
- static ZEND_COLD void php_print_gpcse_array (char * name , uint32_t name_length )
167
+ static ZEND_COLD void php_print_gpcse_array (char * name , size_t name_length )
168
168
{
169
169
zval * data , * tmp ;
170
170
zend_string * string_key ;
@@ -611,7 +611,7 @@ char* php_get_windows_name()
611
611
/* }}} */
612
612
613
613
/* {{{ */
614
- void php_get_windows_cpu (char * buf , int bufsize )
614
+ void php_get_windows_cpu (char * buf , size_t bufsize )
615
615
{
616
616
SYSTEM_INFO SysInfo ;
617
617
GetSystemInfo (& SysInfo );
0 commit comments