From 9cfe9e10baa051ba3d243930edb32d8f8cf7ac9c Mon Sep 17 00:00:00 2001 From: Gina Peter Bnayard Date: Mon, 12 Aug 2024 18:04:37 +0200 Subject: [PATCH] ext/standard/filters.c: Use zend_result return type instead of int --- ext/standard/filters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/filters.c b/ext/standard/filters.c index 785db111f82..e0f0780c660 100644 --- a/ext/standard/filters.c +++ b/ext/standard/filters.c @@ -1279,7 +1279,7 @@ out_failure: #undef GET_UINT_PROP #undef GET_BOOL_PROP -static int php_convert_filter_ctor(php_convert_filter *inst, +static zend_result php_convert_filter_ctor(php_convert_filter *inst, int conv_mode, HashTable *conv_opts, const char *filtername, int persistent) { @@ -1310,7 +1310,7 @@ static void php_convert_filter_dtor(php_convert_filter *inst) } /* {{{ strfilter_convert_append_bucket */ -static int strfilter_convert_append_bucket( +static zend_result strfilter_convert_append_bucket( php_convert_filter *inst, php_stream *stream, php_stream_filter *filter, php_stream_bucket_brigade *buckets_out,