summaryrefslogtreecommitdiff
path: root/ext/standard/dns_win32.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-12-18 21:56:56 +0100
committerAnatol Belski <ab@php.net>2016-12-18 21:56:56 +0100
commit781632ba24840d65ed6289a127eecc1a441747f1 (patch)
tree5aea6fce87e0e385ac8b0d2862c4b47323797b77 /ext/standard/dns_win32.c
parent401576871823af36939095c765f2081fef06cc14 (diff)
parentf077ada348565387beb08a521121e3def566daf8 (diff)
downloadphp-git-781632ba24840d65ed6289a127eecc1a441747f1.tar.gz
Merge branch 'PHP-7.1'
* PHP-7.1: Cursor is not opened on singleton selects. fix arg spec and datatype, follow up on 73594
Diffstat (limited to 'ext/standard/dns_win32.c')
-rw-r--r--ext/standard/dns_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c
index 8808eecae4..c5f414a5f8 100644
--- a/ext/standard/dns_win32.c
+++ b/ext/standard/dns_win32.c
@@ -347,12 +347,12 @@ 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, type_to_fetch, first_query = 1, store_results = 1;
zend_bool raw = 0;
- if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lz!z!b",
+ if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lz/!z/!b",
&hostname, &hostname_len, &type_param, &authns, &addtl, &raw) == FAILURE) {
return;
}