(_nss_nisplus_parse_hostent): Change type of variable `i' to prevent
authordrepper <drepper>
Tue, 15 Apr 1997 01:21:57 +0000 (01:21 +0000)
committerdrepper <drepper>
Tue, 15 Apr 1997 01:21:57 +0000 (01:21 +0000)
warning.

nis/nss_nisplus/nisplus-hosts.c

index 1bcbe40..c933ae4 100644 (file)
@@ -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)