Skip to content

Commit

Permalink
Fix incompatible pointer types
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Jan 29, 2024
1 parent ff2148e commit 88e279d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/php_http_url.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 88e279d

Please sign in to comment.