Skip to content

Commit 3e48baa

Browse files
committed
fix arg spec and datatype, follow up on 73594
1 parent c78fd45 commit 3e48baa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/dns_win32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,12 +347,12 @@ PHP_FUNCTION(dns_get_record)
347347
{
348348
char *hostname;
349349
size_t hostname_len;
350-
long type_param = PHP_DNS_ANY;
350+
zend_long type_param = PHP_DNS_ANY;
351351
zval *authns = NULL, *addtl = NULL;
352352
int type, type_to_fetch, first_query = 1, store_results = 1;
353353
zend_bool raw = 0;
354354

355-
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lz!z!b",
355+
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lz/!z/!b",
356356
&hostname, &hostname_len, &type_param, &authns, &addtl, &raw) == FAILURE) {
357357
return;
358358
}

0 commit comments

Comments
 (0)