Merge branch '938-cppcheck-format-issues-v9_11' into 'v9_11'

Resolve "Cppcheck format issues."

See merge request isc-projects/bind9!1696
This commit is contained in:
Evan Hunt 2019-03-14 17:03:35 -04:00
commit dacfa09725

View file

@ -79,10 +79,10 @@ dns_byaddr_createptrname2(isc_netaddr_t *address, unsigned int options,
if (address->family == AF_INET) {
(void)snprintf(textname, sizeof(textname),
"%u.%u.%u.%u.in-addr.arpa.",
(bytes[3] & 0xffU),
(bytes[2] & 0xffU),
(bytes[1] & 0xffU),
(bytes[0] & 0xffU));
((unsigned int)bytes[3] & 0xffU),
((unsigned int)bytes[2] & 0xffU),
((unsigned int)bytes[1] & 0xffU),
((unsigned int)bytes[0] & 0xffU));
} else if (address->family == AF_INET6) {
size_t remaining;