projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix incompatible pointer types
[m6w6/ext-http]
/
src
/
php_http_filter.c
diff --git
a/src/php_http_filter.c
b/src/php_http_filter.c
index 608221ba1fe5ccdabb9c498d2af65c0078d7e354..52d2b03f584774f931369028cba53d00de8c3987 100644
(file)
--- a/
src/php_http_filter.c
+++ b/
src/php_http_filter.c
@@
-72,7
+72,7
@@
PHP_MINIT_FUNCTION(http_filter)
typedef struct _http_chunked_decode_filter_buffer_t {
php_http_buffer_t buffer;
typedef struct _http_chunked_decode_filter_buffer_t {
php_http_buffer_t buffer;
- ulong hexlen;
+ u
nsigned
long hexlen;
} PHP_HTTP_FILTER_BUFFER(chunked_decode);
typedef php_http_encoding_stream_t PHP_HTTP_FILTER_BUFFER(stream);
} PHP_HTTP_FILTER_BUFFER(chunked_decode);
typedef php_http_encoding_stream_t PHP_HTTP_FILTER_BUFFER(stream);
@@
-452,9
+452,9
@@
static php_stream_filter *http_filter_create(const char *name, zval *params, int
php_http_encoding_stream_free(&b);
}
}
php_http_encoding_stream_free(&b);
}
}
+#if PHP_HTTP_HAVE_LIBBROTLI
} else
} else
-#if PHP_HTTP_HAVE_LIBBROTLI
if (!strcasecmp(name, "http.brotli_encode")) {
PHP_HTTP_FILTER_BUFFER(stream) *b = NULL;
if (!strcasecmp(name, "http.brotli_encode")) {
PHP_HTTP_FILTER_BUFFER(stream) *b = NULL;
@@
-473,8
+473,8
@@
static php_stream_filter *http_filter_create(const char *name, zval *params, int
php_http_encoding_stream_free(&b);
}
}
php_http_encoding_stream_free(&b);
}
}
- }
#endif
#endif
+ }
return f;
}
return f;
}