From 899f3ef36d0f68d47a88b91ad53392b1e0f968f3 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 26 Feb 2018 13:39:49 +0100 Subject: [PATCH 1/1] fix warning --- src/php_http_filter.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/php_http_filter.c b/src/php_http_filter.c index 92bfd15..654edff 100644 --- a/src/php_http_filter.c +++ b/src/php_http_filter.c @@ -380,7 +380,11 @@ static PHP_HTTP_FILTER_OPS(inflate) = { "http.inflate" }; +#if PHP_VERSION_ID >= 70200 +static php_stream_filter *http_filter_create(const char *name, zval *params, uint8_t p) +#else static php_stream_filter *http_filter_create(const char *name, zval *params, int p) +#endif { zval *tmp = params; php_stream_filter *f = NULL; -- 2.30.2