(print_long_entry): fread returns size_t.
authorJim Meyering <jim@meyering.net>
Sat, 12 Oct 2002 09:33:34 +0000 (09:33 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 12 Oct 2002 09:33:34 +0000 (09:33 +0000)
Declare local `bytes' accordingly, to avoid warning.

src/pinky.c

index 59400d7..f625d14 100644 (file)
@@ -336,7 +336,7 @@ print_long_entry (const char name[])
       stream = fopen (project, "r");
       if (stream)
        {
-         int bytes;
+         size_t bytes;
 
          printf (_("Project: "));
 
@@ -362,7 +362,7 @@ print_long_entry (const char name[])
       stream = fopen (plan, "r");
       if (stream)
        {
-         int bytes;
+         size_t bytes;
 
          printf (_("Plan:\n"));