From 3e48baa49d45206444a4af4f808ce640ac83d5a4 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 18 Dec 2016 21:16:35 +0100 Subject: fix arg spec and datatype, follow up on 73594 --- ext/standard/dns_win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/standard/dns_win32.c') 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; } -- cgit v1.2.1