projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
1ddb7ae
)
fix warning
author
Michael Wallner
<mike@php.net>
Mon, 26 Feb 2018 12:39:49 +0000
(13:39 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 26 Feb 2018 12:39:49 +0000
(13:39 +0100)
src/php_http_filter.c
patch
|
blob
|
history
diff --git
a/src/php_http_filter.c
b/src/php_http_filter.c
index 92bfd1554ef946491b6819f5748d5d3b9b83059b..654edffa113cd1bb1868006053bbaa64375b4043 100644
(file)
--- 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;