From: Miek Gieben Date: Tue, 3 May 2005 10:54:27 +0000 (+0000) Subject: aarrggg lint X-Git-Tag: release-0.50~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48d4585fa45b07452679ff99ef536f8cdc698a69;p=thirdparty%2Fldns.git aarrggg lint --- diff --git a/higher.c b/higher.c index 80a4d795..78ba2722 100644 --- a/higher.c +++ b/higher.c @@ -188,11 +188,11 @@ ldns_get_rr_list_hosts_frm_file(char *filename) return names; } -int +uint16_t ldns_getaddrinfo(ldns_resolver *res, ldns_rdf *node, ldns_rr_class c, ldns_rr_list **ret) { ldns_rdf_type t; - int names_found; + uint16_t names_found; ldns_resolver *r; t = ldns_rdf_get_type(node); diff --git a/ldns/higher.h b/ldns/higher.h index daaeb801..31555828 100644 --- a/ldns/higher.h +++ b/ldns/higher.h @@ -69,7 +69,7 @@ ldns_rr_list *ldns_get_rr_list_hosts_frm_file(char *filename); * \param[out] list put the found RR's in this list * \return the number of RR found. */ -int ldns_getaddrinfo(ldns_resolver *res, ldns_rdf *node, ldns_rr_class c, ldns_rr_list **list); +uint16_t ldns_getaddrinfo(ldns_resolver *res, ldns_rdf *node, ldns_rr_class c, ldns_rr_list **list); /** *