2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

add a cast [RT #974]

This commit is contained in:
Brian Wellington
2001-03-05 23:14:03 +00:00
parent b9a99f0772
commit 56ea2e19a2

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: getnameinfo.c,v 1.28 2001/01/09 21:59:20 bwelling Exp $ */
/* $Id: getnameinfo.c,v 1.29 2001/03/05 23:14:03 bwelling Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -258,7 +258,8 @@ lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
(void) lwres_conf_parse(lwrctx, lwres_resolv_conf);
if (n == 0)
n = lwres_getnamebyaddr(lwrctx, lwf, afd->a_addrlen,
n = lwres_getnamebyaddr(lwrctx, lwf,
(lwres_uint16_t)afd->a_addrlen,
addr, &by);
if (n == 0) {
if (flags & NI_NOFQDN) {