diff options
author | Roland McGrath <roland@gnu.org> | 2003-03-16 03:36:32 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-03-16 03:36:32 +0000 |
commit | 8112cc70b47d8817630d1754dabcf83d3c1fbdc2 (patch) | |
tree | c6e5c13e78e7adda0616609669c7d7c3df8dfe32 /nis/nis_table.c | |
parent | addc92bd05110b47e05e6c6693bdacf75213bf60 (diff) | |
download | glibc-8112cc70b47d8817630d1754dabcf83d3c1fbdc2.tar.gz glibc-8112cc70b47d8817630d1754dabcf83d3c1fbdc2.tar.xz glibc-8112cc70b47d8817630d1754dabcf83d3c1fbdc2.zip |
* nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t
* nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise. * nis/nis_table.c (__create_ib_request): Likewise.
Diffstat (limited to 'nis/nis_table.c')
-rw-r--r-- | nis/nis_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nis/nis_table.c b/nis/nis_table.c index e4d2f30206..3b02833d1f 100644 --- a/nis/nis_table.c +++ b/nis/nis_table.c @@ -1,4 +1,4 @@ -/* Copyright (c) 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (c) 1997, 1998, 1999, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@suse.de>, 1997. @@ -30,7 +30,7 @@ __create_ib_request (const_nis_name name, unsigned int flags) struct ib_request *ibreq = calloc (1, sizeof (ib_request)); char buf[strlen (name) + 1]; nis_attr *search_val = NULL; - int search_len = 0; + size_t search_len = 0; char *cptr; size_t size = 0; |