From: Anatol Belski Date: Sun, 18 Dec 2016 20:16:35 +0000 (+0100) Subject: fix arg spec and datatype, follow up on 73594 X-Git-Tag: php-7.0.15RC1~18^2~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e48baa49d45206444a4af4f808ce640ac83d5a4;p=php fix arg spec and datatype, follow up on 73594 --- diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c index f28977ab6a..17f2e5434e 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; }