(read_utmp): Declare n_read to be of type size_t rather than int.
authorJim Meyering <jim@meyering.net>
Sat, 16 Mar 1996 05:44:02 +0000 (05:44 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 16 Mar 1996 05:44:02 +0000 (05:44 +0000)
src/who-users.c

index 4cc9206abe16a1634fddd132fce988e4aeeb8973..2313e4bb5c1eb1300e4b88de7b431e500a2160be 100644 (file)
@@ -410,7 +410,7 @@ read_utmp (char *filename)
 {
   FILE *utmp;
   struct stat file_stats;
-  int n_read;
+  size_t n_read;
   size_t size;
 
   utmp = fopen (filename, "r");