From: Remi Collet Date: Mon, 29 Jan 2024 15:10:26 +0000 (+0100) Subject: Fix incompatible pointer types X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=88e279db21e25244ecb6b804af0a6565db4ecbf1 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);