summaryrefslogtreecommitdiff
path: root/main/streams/streams.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-10-06 11:01:27 +0200
committerAnatol Belski <ab@php.net>2016-10-06 11:01:27 +0200
commitea83e504e5414189103df1bc81073d24292286fd (patch)
tree3ca035fce19f82a107ce0adc1d2c805998592155 /main/streams/streams.c
parent5b79e95f7b6366bf139feaf4e8e5c65db26ddd03 (diff)
downloadphp-git-ea83e504e5414189103df1bc81073d24292286fd.tar.gz
fix datatype
Diffstat (limited to 'main/streams/streams.c')
-rw-r--r--main/streams/streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c
index 7ad2483da1..788c0a192a 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;