mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
force promotion to unsigned int
This commit is contained in:
parent
a43d648b95
commit
1eba2c5b06
1 changed files with 4 additions and 4 deletions
|
|
@ -65,10 +65,10 @@ dns_byaddr_createptrname(const 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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue