From: Dmitry Stogov Date: Thu, 8 Jun 2017 10:03:02 +0000 (+0300) Subject: Fixed wrong type. X-Git-Tag: php-7.2.0alpha2~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bdc37442bf303e2453e3f86388a0c5b88bfd70fd;p=php Fixed wrong type. --- diff --git a/ext/standard/dns.c b/ext/standard/dns.c index 196870c385..93cc2f8f90 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -786,7 +786,7 @@ PHP_FUNCTION(dns_get_record) { char *hostname; size_t hostname_len; - long type_param = PHP_DNS_ANY; + zend_long type_param = PHP_DNS_ANY; zval *authns = NULL, *addtl = NULL; int type_to_fetch; #if defined(HAVE_DNS_SEARCH)