summaryrefslogtreecommitdiff
path: root/ext/phar/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/stream.h')
-rw-r--r--ext/phar/stream.h4
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);