diff options
Diffstat (limited to 'ext/standard/dns_win32.c')
| -rw-r--r-- | ext/standard/dns_win32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c index 7decf91c5c..aab31891da 100644 --- a/ext/standard/dns_win32.c +++ b/ext/standard/dns_win32.c @@ -44,7 +44,7 @@ PHP_FUNCTION(dns_get_mx) /* {{{ */ { char *hostname; - int hostname_len; + size_t hostname_len; zval *mx_list, *weight_list = NULL; DNS_STATUS status; /* Return value of DnsQuery_A() function */ @@ -93,7 +93,7 @@ PHP_FUNCTION(dns_get_mx) /* {{{ */ PHP_FUNCTION(dns_check_record) { char *hostname, *rectype = NULL; - int hostname_len, rectype_len = 0; + size_t hostname_len, rectype_len = 0; int type = DNS_TYPE_MX; DNS_STATUS status; /* Return value of DnsQuery_A() function */ @@ -346,7 +346,7 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, int raw, PHP_FUNCTION(dns_get_record) { char *hostname; - int hostname_len; + size_t hostname_len; long type_param = PHP_DNS_ANY; zval *authns = NULL, *addtl = NULL; int type, type_to_fetch, first_query = 1, store_results = 1; |
