mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
streams: use int type instead of long
The flags variable is passed to the filter virtual function that requires an int
This commit is contained in:
parent
c9836b03ce
commit
67d6160462
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ PHPAPI zend_result _php_stream_filter_flush(php_stream_filter *filter, bool fini
|
|||
php_stream_filter *current;
|
||||
php_stream *stream;
|
||||
size_t flushed_size = 0;
|
||||
long flags = (finish ? PSFS_FLAG_FLUSH_CLOSE : PSFS_FLAG_FLUSH_INC);
|
||||
int flags = (finish ? PSFS_FLAG_FLUSH_CLOSE : PSFS_FLAG_FLUSH_INC);
|
||||
|
||||
if (!filter->chain || !filter->chain->stream) {
|
||||
/* Filter is not attached to a chain, or chain is somehow not part of a stream */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue