diff options
author | Anatol Belski <ab@php.net> | 2015-03-24 21:15:15 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-03-24 22:02:31 +0100 |
commit | 1a00554aafc832daf7db57b6c39120b68be926ba (patch) | |
tree | f0d1cf2e0c60b34287bb0be1f23884c2dad9f7f7 /ext/standard/php_fopen_wrapper.c | |
parent | 3066851dab531ac44a5debbf9b187277158dfcac (diff) | |
download | php-git-1a00554aafc832daf7db57b6c39120b68be926ba.tar.gz |
fix datatype mismatches
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r-- | ext/standard/php_fopen_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index 1dc6a21cf5..f004c943b5 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -82,7 +82,7 @@ static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count) if (!SG(post_read) && SG(read_post_bytes) < (int64_t)(input->position + count)) { /* read requested data from SAPI */ - int read_bytes = sapi_read_post_block(buf, count); + size_t read_bytes = sapi_read_post_block(buf, count); if (read_bytes > 0) { php_stream_seek(input->body, 0, SEEK_END); |