about summary refs log tree commit diff
path: root/resolv/res_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/res_data.c')
-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 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