diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-22 17:25:28 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-22 17:26:01 +0200 |
commit | a1e2c8870ebfdc1c2d9fa25327bc3dad5bd68c91 (patch) | |
tree | 1ba6ec4f9b3f51ef407c2903af2ad7815f8b69ca /ext/phar/stream.h | |
parent | 7a1540fa2872a67080f2161faff226c1effebf76 (diff) | |
parent | d59aac58b3e7da7ad01a194fe9840d89725ea229 (diff) | |
download | php-git-a1e2c8870ebfdc1c2d9fa25327bc3dad5bd68c91.tar.gz |
Merge branch 'PHP-7.4'
Diffstat (limited to 'ext/phar/stream.h')
-rw-r--r-- | ext/phar/stream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/stream.h b/ext/phar/stream.h index 659ab66618..9746554a07 100644 --- a/ext/phar/stream.h +++ b/ext/phar/stream.h @@ -28,8 +28,8 @@ static int phar_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int static int phar_wrapper_stat(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context); /* file/stream handlers */ -static size_t phar_stream_write(php_stream *stream, const char *buf, size_t count); -static size_t phar_stream_read( php_stream *stream, char *buf, size_t count); +static ssize_t phar_stream_write(php_stream *stream, const char *buf, size_t count); +static ssize_t phar_stream_read( php_stream *stream, char *buf, size_t count); static int phar_stream_close(php_stream *stream, int close_handle); static int phar_stream_flush(php_stream *stream); static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset); |