Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
8a85e3d9
Commit
8a85e3d9
authored
Mar 14, 2019
by
Mark Andrews
Committed by
Evan Hunt
Mar 14, 2019
Browse files
force promotion to unsigned int
(cherry picked from commit
1eba2c5b
)
parent
09f9f10e
Pipeline
#12035
passed with stages
in 10 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/byaddr.c
View file @
8a85e3d9
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment