From c92f8aa633ba44154053cc661d7673344ab64fcd Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 2 Apr 2001 11:40:38 +0000 Subject: [PATCH] (res_isourserver): Fix cast. --- resolv/res_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolv/res_data.c b/resolv/res_data.c index 30d8ab94ff..6aa697aecd 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 -- 2.43.5