Adjust zend_write_func signature

Make it return size_t instead of int, to line up with actual
implementation.
This commit is contained in:
Nikita Popov 2020-04-15 10:45:18 +02:00
parent 7643cf1996
commit e15409b43c
3 changed files with 3 additions and 3 deletions

View file

@ -205,7 +205,7 @@ typedef struct _zend_utility_values {
zend_bool html_errors;
} zend_utility_values;
typedef int (*zend_write_func_t)(const char *str, size_t str_length);
typedef size_t (*zend_write_func_t)(const char *str, size_t str_length);
#define zend_bailout() _zend_bailout(__FILE__, __LINE__)