summaryrefslogtreecommitdiff
path: root/ext/standard/php_dns.h
diff options
context:
space:
mode:
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)