diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-22 17:49:08 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-22 17:49:08 +0200 |
commit | 5664035ffef093a200d220330f3b17ee9b601fb2 (patch) | |
tree | 5bc6f394c12a78a19a93d84758a151824c1a4ca1 /Zend/zend_stream.h | |
parent | d59aac58b3e7da7ad01a194fe9840d89725ea229 (diff) | |
download | php-git-5664035ffef093a200d220330f3b17ee9b601fb2.tar.gz |
Also report errors from Zend stream reader operation
Diffstat (limited to 'Zend/zend_stream.h')
-rw-r--r-- | Zend/zend_stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_stream.h b/Zend/zend_stream.h index 87aec7aff3..66a7e5198c 100644 --- a/Zend/zend_stream.h +++ b/Zend/zend_stream.h @@ -29,7 +29,7 @@ * These functions are private to the engine. * */ typedef size_t (*zend_stream_fsizer_t)(void* handle); -typedef size_t (*zend_stream_reader_t)(void* handle, char *buf, size_t len); +typedef ssize_t (*zend_stream_reader_t)(void* handle, char *buf, size_t len); typedef void (*zend_stream_closer_t)(void* handle); #define ZEND_MMAP_AHEAD 32 |