From 3f9536c5cc9ed6659ad2514859bd1716cbf7b26b Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 12 Jan 2017 15:35:29 +0000 Subject: Types fix, first pass. Some places marked XXX for the skalibs API change. --- src/clients/s6-dnsqualify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/clients/s6-dnsqualify.c') diff --git a/src/clients/s6-dnsqualify.c b/src/clients/s6-dnsqualify.c index 64767ae..94405db 100644 --- a/src/clients/s6-dnsqualify.c +++ b/src/clients/s6-dnsqualify.c @@ -1,5 +1,6 @@ /* ISC license. */ +#include #include #include #include @@ -22,7 +23,7 @@ int main (int argc, char const *const *argv) if (!n) strerr_diefu2sys(111, "qualify ", argv[1]) ; { char buf[S6DNS_FMT_DOMAINLIST(n)] ; - unsigned int len = s6dns_fmt_domainlist(buf, S6DNS_FMT_DOMAINLIST(n), list, n, "\n", 1) ; + size_t len = s6dns_fmt_domainlist(buf, S6DNS_FMT_DOMAINLIST(n), list, n, "\n", 1) ; if (!len) strerr_diefu1sys(111, "format result") ; if (buffer_put(buffer_1, buf, len) < 0) goto err ; } -- cgit v1.2.3