diff options
Diffstat (limited to 'nis/nss_nis')
-rw-r--r-- | nis/nss_nis/nis-alias.c | 2 | ||||
-rw-r--r-- | nis/nss_nis/nis-hosts.c | 2 | ||||
-rw-r--r-- | nis/nss_nis/nis-network.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nis/nss_nis/nis-alias.c b/nis/nss_nis/nis-alias.c index fa717be747..3b0887be04 100644 --- a/nis/nss_nis/nis-alias.c +++ b/nis/nss_nis/nis-alias.c @@ -214,7 +214,7 @@ _nss_nis_getaliasbyname_r (const char *name, struct aliasent *alias, char *p; size_t namlen = strlen (name); char name2[namlen + 1]; - int i; + size_t i; if (name == NULL) { diff --git a/nis/nss_nis/nis-hosts.c b/nis/nss_nis/nis-hosts.c index 9e59f59bdd..58a9064f14 100644 --- a/nis/nss_nis/nis-hosts.c +++ b/nis/nss_nis/nis-hosts.c @@ -261,7 +261,7 @@ internal_gethostbyname2_r (const char *name, int af, struct hostent *host, /* 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]); 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]); |