diff options
Diffstat (limited to 'ext/phar/dirstream.h')
-rw-r--r-- | ext/phar/dirstream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/dirstream.h b/ext/phar/dirstream.h index 371c70720a..b14f877fe5 100644 --- a/ext/phar/dirstream.h +++ b/ext/phar/dirstream.h @@ -25,8 +25,8 @@ int phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options); /* directory handlers */ -static size_t phar_dir_write(php_stream *stream, const char *buf, size_t count); -static size_t phar_dir_read( php_stream *stream, char *buf, size_t count); +static ssize_t phar_dir_write(php_stream *stream, const char *buf, size_t count); +static ssize_t phar_dir_read( php_stream *stream, char *buf, size_t count); static int phar_dir_close(php_stream *stream, int close_handle); static int phar_dir_flush(php_stream *stream); static int phar_dir_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset); |