mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
(res_isourserver): Fix cast.
This commit is contained in:
parent
2a56ca2a5a
commit
c92f8aa633
@ -205,7 +205,7 @@ res_send_setrhook(res_send_rhook hook) {
|
||||
|
||||
int
|
||||
res_isourserver(const struct sockaddr_in *inp) {
|
||||
return (res_ourserver_p((const struct sockaddr_in6 *) &_res, inp));
|
||||
return (res_ourserver_p(&_res, (const struct sockaddr_in6 *) inp));
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user