diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-15 10:45:18 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-15 11:01:12 +0200 |
commit | e15409b43cacf711608189c299191f2969ea331c (patch) | |
tree | ec973dac1e4cf73a10d50ca1b901b2db776d4e21 /Zend/zend.h | |
parent | 7643cf19966fd84c3f122f4887034d0170a04920 (diff) | |
download | php-git-e15409b43cacf711608189c299191f2969ea331c.tar.gz |
Adjust zend_write_func signature
Make it return size_t instead of int, to line up with actual
implementation.
Diffstat (limited to 'Zend/zend.h')
-rw-r--r-- | Zend/zend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index fd1fee9099..cd41cde5ef 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -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__) |