summaryrefslogtreecommitdiff
path: root/ext/standard/php_dns.h
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2019-06-12 15:10:49 +0200
committerJoe Watkins <krakjoe@php.net>2019-06-12 15:10:49 +0200
commite1f65e2d97030d95fe5d31e2589a684c2220143e (patch)
treef957c669ad5f0aeccf924a79ac192285f55b3322 /ext/standard/php_dns.h
parent3b6d36435f5616e4028720fbf71b1ecce1c9417b (diff)
parent6fcb469991248b3f67f618ed7033465197ccfcda (diff)
downloadphp-git-e1f65e2d97030d95fe5d31e2589a684c2220143e.tar.gz
Merge branch 'PHP-7.4' of git://github.com/php/php-src into PHP-7.4
Diffstat (limited to 'ext/standard/php_dns.h')
-rw-r--r--ext/standard/php_dns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_dns.h b/ext/standard/php_dns.h
index b6272a487b..47c1e3ab5d 100644
--- a/ext/standard/php_dns.h
+++ b/ext/standard/php_dns.h
@@ -23,7 +23,7 @@
#if defined(HAVE_DNS_SEARCH)
#define php_dns_search(res, dname, class, type, answer, anslen) \
- ((int)dns_search(res, dname, class, type, answer, anslen, (struct sockaddr *)&from, &fromsize))
+ ((int)dns_search(res, dname, class, type, (char *) answer, anslen, (struct sockaddr *)&from, &fromsize))
#define php_dns_free_handle(res) \
dns_free(res)