diff options
author | Anatol Belski <ab@php.net> | 2016-10-06 11:03:09 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-06 11:03:09 +0200 |
commit | bc5efe501e886fc0d3d83364cd93b89fc4a16aab (patch) | |
tree | bb1025e0b41e129166cbd7c41c3a536c457eaa3b /main/streams | |
parent | c9d3b9fb475861d03e7d9b913a12527a2023e152 (diff) | |
parent | ea83e504e5414189103df1bc81073d24292286fd (diff) | |
download | php-git-bc5efe501e886fc0d3d83364cd93b89fc4a16aab.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix datatype
Diffstat (limited to 'main/streams')
-rw-r--r-- | main/streams/streams.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c index d738970e07..936f9990ab 100644 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -568,7 +568,7 @@ PHPAPI void _php_stream_fill_read_buffer(php_stream *stream, size_t size) /* allocate a buffer for reading chunks */ chunk_buf = emalloc(stream->chunk_size); - while (!stream->eof && !err_flag && (stream->writepos - stream->readpos < (off_t)size)) { + while (!stream->eof && !err_flag && (stream->writepos - stream->readpos < (zend_off_t)size)) { size_t justread = 0; int flags; php_stream_bucket *bucket; |