Skip to content

Commit

Permalink
Merge pull request #134 from m6w6/issue-pointers
Browse files Browse the repository at this point in the history
Fix incompatible pointer types (32-bit)
  • Loading branch information
m6w6 authored Feb 5, 2024
2 parents ff2148e + 88e279d commit 7781f03
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 7781f03

Please sign in to comment.