Commit dacfa097 authored by Evan Hunt's avatar Evan Hunt
Browse files

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

Resolve "Cppcheck format issues."

See merge request !1696
parents 09f9f10e 8a85e3d9
Pipeline #12038 passed with stages
in 59 seconds
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment