From: Jim Meyering Date: Sat, 12 Oct 2002 09:33:34 +0000 (+0000) Subject: (print_long_entry): fread returns size_t. X-Git-Tag: v4.5.3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=707f8bfa62b6ad2f0457748004d84b4e1b444868;p=thirdparty%2Fcoreutils.git (print_long_entry): fread returns size_t. Declare local `bytes' accordingly, to avoid warning. --- diff --git a/src/pinky.c b/src/pinky.c index 59400d7850..f625d14dca 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -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"));