mirror of git://sourceware.org/git/glibc.git
* nss/nss_files/files-hosts.c: Likewise.
This commit is contained in:
parent
eb64f8cbe3
commit
addc92bd05
|
@ -1,6 +1,7 @@
|
||||||
2003-03-15 Roland McGrath <roland@redhat.com>
|
2003-03-15 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* posix/fnmatch_loop.c: Add casts for signedness.
|
* posix/fnmatch_loop.c: Add casts for signedness.
|
||||||
|
* nss/nss_files/files-hosts.c: Likewise.
|
||||||
* nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
|
* nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
|
||||||
* gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN.
|
* gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN.
|
||||||
* nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
|
* nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
|
||||||
|
|
|
@ -280,7 +280,7 @@ HOST_DB_LOOKUP (hostbyname2, ,,
|
||||||
|
|
||||||
DB_LOOKUP (hostbyaddr, ,,
|
DB_LOOKUP (hostbyaddr, ,,
|
||||||
{
|
{
|
||||||
if (result->h_length == len
|
if (result->h_length == (int) len
|
||||||
&& ! memcmp (addr, result->h_addr_list[0], len))
|
&& ! memcmp (addr, result->h_addr_list[0], len))
|
||||||
break;
|
break;
|
||||||
}, const void *addr, socklen_t len, int af)
|
}, const void *addr, socklen_t len, int af)
|
||||||
|
|
Loading…
Reference in New Issue