diff options
Diffstat (limited to 'nis/nss_nisplus')
-rw-r--r-- | nis/nss_nisplus/nisplus-hosts.c | 3 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-network.c | 2 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-proto.c | 2 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-rpc.c | 2 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-service.c | 2 |
5 files changed, 6 insertions, 5 deletions
diff --git a/nis/nss_nisplus/nisplus-hosts.c b/nis/nss_nisplus/nisplus-hosts.c index 1bcbe40e87..c933ae49be 100644 --- a/nis/nss_nisplus/nisplus-hosts.c +++ b/nis/nss_nisplus/nisplus-hosts.c @@ -117,7 +117,8 @@ _nss_nisplus_parse_hostent (nis_result *result, struct hostent *host, { char *p = buffer; size_t room_left = buflen; - int parse_res, i; + int parse_res; + unsigned int i; struct parser_data *data = (void *) buffer; if (result == NULL) diff --git a/nis/nss_nisplus/nisplus-network.c b/nis/nss_nisplus/nisplus-network.c index 7e0ccd6411..7f849e21e9 100644 --- a/nis/nss_nisplus/nisplus-network.c +++ b/nis/nss_nisplus/nisplus-network.c @@ -65,7 +65,7 @@ _nss_nisplus_parse_netent (nis_result *result, struct netent *network, { char *p = buffer; size_t room_left = buflen; - int i; + unsigned int i; struct parser_data *data = (void *) buffer; if (result == NULL) diff --git a/nis/nss_nisplus/nisplus-proto.c b/nis/nss_nisplus/nisplus-proto.c index 5cb55d367c..1399748846 100644 --- a/nis/nss_nisplus/nisplus-proto.c +++ b/nis/nss_nisplus/nisplus-proto.c @@ -56,7 +56,7 @@ _nss_nisplus_parse_protoent (nis_result * result, struct protoent *proto, { char *p = buffer; size_t room_left = buflen; - int i; + unsigned int i; struct parser_data *data = (void *) buffer; if (result == NULL) diff --git a/nis/nss_nisplus/nisplus-rpc.c b/nis/nss_nisplus/nisplus-rpc.c index 9cf9f68b44..435da5792c 100644 --- a/nis/nss_nisplus/nisplus-rpc.c +++ b/nis/nss_nisplus/nisplus-rpc.c @@ -56,7 +56,7 @@ _nss_nisplus_parse_rpcent (nis_result *result, struct rpcent *rpc, { char *p = buffer; size_t room_left = buflen; - int i; + unsigned int i; struct parser_data *data = (void *) buffer; if (result == NULL) diff --git a/nis/nss_nisplus/nisplus-service.c b/nis/nss_nisplus/nisplus-service.c index 1a8716ab9d..c95507a468 100644 --- a/nis/nss_nisplus/nisplus-service.c +++ b/nis/nss_nisplus/nisplus-service.c @@ -59,7 +59,7 @@ _nss_nisplus_parse_servent (nis_result *result, struct servent *serv, { char *p = buffer; size_t room_left = buflen; - int i; + unsigned int i; struct parser_data *data = (void *) buffer; if (result == NULL) |