Fix incompatible pointer types issue-pointers 134/head
authorRemi Collet <remi@remirepo.net>
Mon, 29 Jan 2024 15:10:26 +0000 (16:10 +0100)
committerRemi Collet <remi@php.net>
Mon, 29 Jan 2024 15:10:26 +0000 (16:10 +0100)
src/php_http_url.c

index 943a436c1f078bc551b42638484a648e2d4b3aa7..459396f347d57280858a37c6e55546ff2558d495 100644 (file)
@@ -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);