Add cast to avoid warning.
authordrepper <drepper>
Tue, 13 Feb 2001 22:07:19 +0000 (22:07 +0000)
committerdrepper <drepper>
Tue, 13 Feb 2001 22:07:19 +0000 (22:07 +0000)
resolv/res_data.c

index a365698..968f820 100644 (file)
@@ -205,7 +205,7 @@ res_send_setrhook(res_send_rhook hook) {
 
 int
 res_isourserver(const struct sockaddr_in *inp) {
-       return (res_ourserver_p(&_res, inp));
+       return (res_ourserver_p((const struct sockaddr_in6 *) &_res, inp));
 }
 
 int