Skip to content

Commit bdc3744

Browse files
committed
Fixed wrong type.
1 parent eb6614e commit bdc3744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/dns.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ PHP_FUNCTION(dns_get_record)
786786
{
787787
char *hostname;
788788
size_t hostname_len;
789-
long type_param = PHP_DNS_ANY;
789+
zend_long type_param = PHP_DNS_ANY;
790790
zval *authns = NULL, *addtl = NULL;
791791
int type_to_fetch;
792792
#if defined(HAVE_DNS_SEARCH)

0 commit comments

Comments
 (0)