com php-src: Fixed wrong type.: ext/standard/dns.c
| From: | Dmitry Stogov | Date: | Thu, 08 Jun 2017 10:03:02 +0000 |
| Subject: | com php-src: Fixed wrong type.: ext/standard/dns.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98029@lists.php.net to get a copy of this message | ||
Commit: bdc37442bf303e2453e3f86388a0c5b88bfd70fd
Author: Dmitry Stogov <dmitry@zend.com> Thu, 8 Jun 2017 13:03:02 +0300
Parents: eb6614e4583343b9ae4cad13da815404c18cb943
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bdc37442bf303e2453e3f86388a0c5b88bfd70fd
Log:
Fixed wrong type.
Changed paths:
M ext/standard/dns.c
Diff:
diff --git a/ext/standard/dns.c b/ext/standard/dns.c
index 196870c..93cc2f8 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)