about summary refs log tree commit diff
path: root/nis/nss_nis/nis-network.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-16 03:36:32 +0000
committerRoland McGrath <roland@gnu.org>2003-03-16 03:36:32 +0000
commit8112cc70b47d8817630d1754dabcf83d3c1fbdc2 (patch)
treec6e5c13e78e7adda0616609669c7d7c3df8dfe32 /nis/nss_nis/nis-network.c
parentaddc92bd05110b47e05e6c6693bdacf75213bf60 (diff)
downloadglibc-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/nss_nis/nis-network.c')
-rw-r--r--nis/nss_nis/nis-network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nss_nis/nis-network.c b/nis/nss_nis/nis-network.c
index 2292aea2c0..ed8439c814 100644
--- a/nis/nss_nis/nis-network.c
+++ b/nis/nss_nis/nis-network.c
@@ -181,7 +181,7 @@ _nss_nis_getnetbyname_r (const char *name, struct netent *net, char *buffer,
       /* Convert name to lowercase.  */
       size_t namlen = strlen (name);
       char name2[namlen + 1];
-      int i;
+      size_t i;
 
       for (i = 0; i < namlen; ++i)
 	name2[i] = _tolower (name[i]);