From: Remi Collet Date: Mon, 29 Jan 2024 15:10:26 +0000 (+0100) Subject: Fix incompatible pointer types X-Git-Tag: v4.2.5~3^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=refs%2Fpull%2F134%2Fhead;p=m6w6%2Fext-http Fix incompatible pointer types --- diff --git a/src/php_http_url.c b/src/php_http_url.c index 943a436..459396f 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);