aboutsummaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-16 03:31:50 +0000
committerRoland McGrath <roland@gnu.org>2003-03-16 03:31:50 +0000
commitaddc92bd05110b47e05e6c6693bdacf75213bf60 (patch)
treea6d6415b352101db8178bd5fda2fe6bc4c4a8e12 /nss
parenteb64f8cbe3fd1b8e10b1269fa345ea2a0caa976c (diff)
downloadglibc-addc92bd05110b47e05e6c6693bdacf75213bf60.zip
glibc-addc92bd05110b47e05e6c6693bdacf75213bf60.tar.gz
glibc-addc92bd05110b47e05e6c6693bdacf75213bf60.tar.bz2
* nss/nss_files/files-hosts.c: Likewise.
Diffstat (limited to 'nss')
-rw-r--r--nss/nss_files/files-hosts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/nss_files/files-hosts.c b/nss/nss_files/files-hosts.c
index 96e410f..0f02b4f 100644
--- a/nss/nss_files/files-hosts.c
+++ b/nss/nss_files/files-hosts.c
@@ -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)