diff options
author | Remi Collet <remi@remirepo.net> | 2024-01-29 17:02:05 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-01-29 17:02:05 +0100 |
commit | 7fd66dfb90f0b99df2a6591361b89ce6dd1c8135 (patch) | |
tree | fdb803672918f59788efddfed5ff6681113b16c8 /pecl_http-build.patch | |
parent | f5db479a6466c27c3dbad8a2efc3a4a5f22b3eb3 (diff) |
Fix incompatible pointer types using patch from
https://github.com/m6w6/ext-http/pull/134
Diffstat (limited to 'pecl_http-build.patch')
-rw-r--r-- | pecl_http-build.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pecl_http-build.patch b/pecl_http-build.patch new file mode 100644 index 0000000..887a6ed --- /dev/null +++ b/pecl_http-build.patch @@ -0,0 +1,22 @@ +From 88e279db21e25244ecb6b804af0a6565db4ecbf1 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Mon, 29 Jan 2024 16:10:26 +0100 +Subject: [PATCH] Fix incompatible pointer types + +--- + src/php_http_url.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/php_http_url.c b/src/php_http_url.c +index 943a436c..459396f3 100644 +--- a/src/php_http_url.c ++++ b/src/php_http_url.c +@@ -73,7 +73,7 @@ static inline char *localhostname(void) + static php_http_url_t *php_http_url_from_env(void) + { + zval *https, *zhost, *zport; +- long port; ++ zend_long port; + php_http_buffer_t buf; + + php_http_buffer_init_ex(&buf, MAX(PHP_HTTP_BUFFER_DEFAULT_SIZE, sizeof(php_http_url_t)<<2), PHP_HTTP_BUFFER_INIT_PREALLOC); |