mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Kill warning.
This commit is contained in:
parent
6c4d96e8ea
commit
daefeb59d5
2 changed files with 4 additions and 2 deletions
|
@ -43,9 +43,10 @@ int output_globals_id;
|
|||
php_output_globals output_globals;
|
||||
#endif
|
||||
|
||||
static php_default_output_func(const char *str, uint str_len)
|
||||
static int php_default_output_func(const char *str, uint str_len)
|
||||
{
|
||||
fwrite(str, 1, str_len, stderr);
|
||||
return str_len;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -43,9 +43,10 @@ int output_globals_id;
|
|||
php_output_globals output_globals;
|
||||
#endif
|
||||
|
||||
static php_default_output_func(const char *str, uint str_len)
|
||||
static int php_default_output_func(const char *str, uint str_len)
|
||||
{
|
||||
fwrite(str, 1, str_len, stderr);
|
||||
return str_len;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue