From: Evan Hunt Date: Wed, 24 Jan 2018 19:00:27 +0000 (-0800) Subject: [master] change uint to isc_uint X-Git-Tag: v9.13.0~221 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=52043a720423423cdb57047a5bbe8a6b9d8530c1;p=thirdparty%2Fbind9.git [master] change uint to isc_uint --- diff --git a/lib/dns/dnstap.c b/lib/dns/dnstap.c index 82148f6159a..d0c792f9a96 100644 --- a/lib/dns/dnstap.c +++ b/lib/dns/dnstap.c @@ -699,7 +699,7 @@ setaddr(dns_dtmsg_t *dm, isc_sockaddr_t *sa, isc_boolean_t tcp, *port = ntohs(sa->type.sin6.sin6_port); } else { dm->m.socket_family = DNSTAP__SOCKET_FAMILY__INET; - addr->data = (uint8_t *) &sa->type.sin.sin_addr.s_addr; + addr->data = (isc_uint8_t *) &sa->type.sin.sin_addr.s_addr; addr->len = 4; *port = ntohs(sa->type.sin.sin_port); } @@ -864,7 +864,7 @@ static isc_boolean_t dnstap_file(struct fstrm_reader *r) { fstrm_res res; const struct fstrm_control *control = NULL; - const uint8_t *rtype = NULL; + const isc_uint8_t *rtype = NULL; size_t dlen = strlen(DNSTAP_CONTENT_TYPE), rlen = 0; size_t n = 0; diff --git a/lib/dns/tests/name_test.c b/lib/dns/tests/name_test.c index 1b46af40e3e..3800c151ee7 100644 --- a/lib/dns/tests/name_test.c +++ b/lib/dns/tests/name_test.c @@ -342,7 +342,7 @@ ATF_TC_HEAD(benchmark, tc) { static void * fromwire_thread(void *arg) { unsigned int maxval = 32000000; - uint8_t data[] = { + isc_uint8_t data[] = { 3, 'w', 'w', 'w', 7, 'e', 'x', 'a', 'm', 'p', 'l', 'e', 7, 'i', 'n', 'v', 'a', 'l', 'i', 'd',