aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2001-04-02 11:40:38 +0000
committerAndreas Schwab <schwab@suse.de>2001-04-02 11:40:38 +0000
commitc92f8aa633ba44154053cc661d7673344ab64fcd (patch)
treef0add6722256619419f0c2f069e52b9a1d9e8ff8
parent2a56ca2a5acbc97bb1a17ff4b8abf2d897a8bb2b (diff)
downloadglibc-c92f8aa633ba44154053cc661d7673344ab64fcd.zip
glibc-c92f8aa633ba44154053cc661d7673344ab64fcd.tar.gz
glibc-c92f8aa633ba44154053cc661d7673344ab64fcd.tar.bz2
(res_isourserver): Fix cast.
-rw-r--r--resolv/res_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_data.c b/resolv/res_data.c
index 30d8ab9..6aa697a 100644
--- a/resolv/res_data.c
+++ b/resolv/res_data.c
@@ -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