1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* nss/nss_files/files-hosts.c: Likewise.

This commit is contained in:
Roland McGrath
2003-03-16 03:31:50 +00:00
parent eb64f8cbe3
commit addc92bd05
2 changed files with 2 additions and 1 deletions

View File

@ -280,7 +280,7 @@ HOST_DB_LOOKUP (hostbyname2, ,,
DB_LOOKUP (hostbyaddr, ,,
{
if (result->h_length == len
if (result->h_length == (int) len
&& ! memcmp (addr, result->h_addr_list[0], len))
break;
}, const void *addr, socklen_t len, int af)